From 7e5530ddfeb115e0d37b9a6558309ca3ce9cf56a Mon Sep 17 00:00:00 2001 From: Mateusz Bilski Date: Thu, 20 Oct 2022 10:00:23 +0200 Subject: [PATCH 1/2] Change root --- Dockerfile | 4 +- README.md | 16 +- book.json | 2 +- cmd/swagger/commands/diff.go | 2 +- .../commands/diff/spec_analyser_test.go | 2 +- .../commands/diff/spec_difference_test.go | 2 +- cmd/swagger/commands/diff_test.go | 4 +- cmd/swagger/commands/flatten.go | 2 +- cmd/swagger/commands/generate.go | 2 +- cmd/swagger/commands/generate/cli.go | 2 +- cmd/swagger/commands/generate/cli_test.go | 2 +- cmd/swagger/commands/generate/client.go | 2 +- cmd/swagger/commands/generate/client_test.go | 2 +- cmd/swagger/commands/generate/contrib.go | 2 +- cmd/swagger/commands/generate/markdown.go | 2 +- .../commands/generate/markdown_test.go | 2 +- cmd/swagger/commands/generate/model.go | 2 +- cmd/swagger/commands/generate/model_test.go | 2 +- cmd/swagger/commands/generate/operation.go | 2 +- .../commands/generate/operation_test.go | 2 +- cmd/swagger/commands/generate/server.go | 2 +- .../commands/generate/server_internal_test.go | 2 +- cmd/swagger/commands/generate/server_test.go | 4 +- cmd/swagger/commands/generate/shared.go | 2 +- .../commands/generate/sharedopts_nonwin.go | 2 +- cmd/swagger/commands/generate/spec.go | 2 +- cmd/swagger/commands/generate/spec_go111.go | 2 +- .../commands/generate/spec_go111_test.go | 2 +- cmd/swagger/commands/generate/spec_test.go | 2 +- cmd/swagger/commands/generate/support.go | 2 +- cmd/swagger/commands/generate/support_test.go | 2 +- cmd/swagger/commands/initcmd.go | 2 +- cmd/swagger/commands/mixin.go | 2 +- cmd/swagger/swagger.go | 2 +- codescan/application_test.go | 12 +- codescan/operations_go119_test.go | 2 +- codescan/operations_test.go | 8 +- codescan/responses_test.go | 2 +- codescan/routes_test.go | 8 +- codescan/schema_go118_test.go | 4 +- codescan/schema_test.go | 6 +- doc.go | 2 +- docs/README.md | 16 +- docs/faq/README.md | 4 +- docs/faq/faq_client.md | 8 +- docs/faq/faq_documenting.md | 12 +- docs/faq/faq_model.md | 34 +- docs/faq/faq_server.md | 28 +- docs/faq/faq_setup.md | 6 +- docs/faq/faq_spec.md | 30 +- docs/faq/faq_swagger.md | 8 +- docs/faq/faq_testing.md | 4 +- docs/generate/cli.md | 2 +- docs/generate/client.md | 2 +- docs/guidelines/README.md | 4 +- docs/install.md | 12 +- docs/tutorial/authentication/README.md | 2 +- docs/tutorial/composed-auth/README.md | 2 +- docs/tutorial/custom-server.md | 2 +- docs/tutorial/dynamic.md | 8 +- docs/tutorial/oauth2/README.md | 4 +- docs/tutorial/todo-list.md | 26 +- docs/use/models/schemas.md | 8 +- docs/use/spec/meta.md | 2 +- docs/use/template_layout.md | 8 +- examples/2.0/petstore/server/petstore.go | 2 +- .../client/auth_sample_client.go | 2 +- .../client/customers/create_parameters.go | 2 +- .../client/customers/create_responses.go | 2 +- .../client/customers/get_id_parameters.go | 2 +- .../client/customers/get_id_responses.go | 2 +- .../cmd/auth-sample-server/main.go | 4 +- .../restapi/configure_auth_sample.go | 6 +- .../restapi/operations/auth_sample_api.go | 4 +- .../restapi/operations/customers/create.go | 2 +- .../operations/customers/create_parameters.go | 2 +- .../operations/customers/create_responses.go | 2 +- .../restapi/operations/customers/get_id.go | 2 +- .../operations/customers/get_id_parameters.go | 2 +- .../operations/customers/get_id_responses.go | 2 +- examples/authentication/restapi/server.go | 2 +- .../a-to-do-list-application-server/main.go | 4 +- .../implementation/configure_impl.go | 2 +- .../auto-configure/implementation/handler.go | 2 +- .../implementation/todos_impl.go | 4 +- ...auto_configure_a_to_do_list_application.go | 8 +- .../a_to_do_list_application_api.go | 2 +- .../operations/todos/add_one_parameters.go | 2 +- .../operations/todos/add_one_responses.go | 2 +- .../operations/todos/destroy_one_responses.go | 2 +- .../operations/todos/find_todos_responses.go | 2 +- .../operations/todos/update_one_parameters.go | 2 +- .../operations/todos/update_one_responses.go | 2 +- examples/auto-configure/restapi/server.go | 2 +- examples/cli/cli/add_one_operation.go | 4 +- examples/cli/cli/cli.go | 2 +- examples/cli/cli/destroy_one_operation.go | 2 +- examples/cli/cli/error_model.go | 2 +- examples/cli/cli/find_todos_operation.go | 2 +- examples/cli/cli/item_model.go | 2 +- examples/cli/cli/update_one_operation.go | 4 +- .../client/a_to_do_list_application_client.go | 2 +- .../cli/client/todos/add_one_parameters.go | 2 +- .../cli/client/todos/add_one_responses.go | 2 +- .../cli/client/todos/destroy_one_responses.go | 2 +- .../cli/client/todos/find_todos_responses.go | 2 +- .../cli/client/todos/update_one_parameters.go | 2 +- .../cli/client/todos/update_one_responses.go | 2 +- examples/cli/cmd/todoctl/main.go | 2 +- examples/composed-auth/README.md | 2 +- examples/composed-auth/auth/authorizers.go | 2 +- .../cmd/multi-auth-example-server/main.go | 4 +- .../restapi/configure_multi_auth_example.go | 6 +- .../restapi/operations/add_order.go | 2 +- .../operations/add_order_parameters.go | 2 +- .../restapi/operations/add_order_responses.go | 2 +- .../restapi/operations/get_account.go | 2 +- .../operations/get_account_responses.go | 2 +- .../restapi/operations/get_items_responses.go | 2 +- .../restapi/operations/get_order.go | 2 +- .../restapi/operations/get_order_responses.go | 2 +- .../restapi/operations/get_orders_for_item.go | 2 +- .../get_orders_for_item_responses.go | 2 +- .../operations/multi_auth_example_api.go | 2 +- examples/composed-auth/restapi/server.go | 2 +- .../client/pet/pet_create_parameters.go | 2 +- .../client/pet/pet_create_responses.go | 2 +- .../client/pet/pet_get_responses.go | 2 +- .../client/pet/pet_list_responses.go | 2 +- .../client/pet/pet_update_parameters.go | 2 +- .../client/pet/pet_update_responses.go | 2 +- .../client/pet/pet_upload_image_responses.go | 2 +- .../stratoscale/client/petstore_client.go | 4 +- .../client/store/order_create_parameters.go | 2 +- .../client/store/order_create_responses.go | 2 +- .../client/store/order_get_responses.go | 2 +- .../stratoscale/restapi/configure_petstore.go | 6 +- .../operations/pet/pet_create_parameters.go | 2 +- .../operations/pet/pet_create_responses.go | 2 +- .../operations/pet/pet_get_responses.go | 2 +- .../operations/pet/pet_list_responses.go | 2 +- .../operations/pet/pet_update_parameters.go | 2 +- .../operations/pet/pet_update_responses.go | 2 +- .../pet/pet_upload_image_responses.go | 2 +- .../restapi/operations/petstore_api.go | 4 +- .../store/order_create_parameters.go | 2 +- .../store/order_create_responses.go | 2 +- .../operations/store/order_get_responses.go | 2 +- .../cmd/external-types-demo-server/main.go | 4 +- .../example-external-types.yaml | 42 +- .../external-types/models/my_custom_array.go | 2 +- .../models/my_custom_array_nullable.go | 2 +- .../external-types/models/my_custom_map.go | 2 +- .../models/my_custom_map_nullable.go | 2 +- .../models/my_ext_collection.go | 2 +- .../models/my_interface_object.go | 2 +- .../external-types/models/my_reader_object.go | 4 +- examples/external-types/models/my_tuple.go | 2 +- examples/external-types/models/zzz.go | 4 +- .../restapi/configure_external_types_demo.go | 2 +- .../external-types/restapi/embedded_spec.go | 84 ++-- .../operations/get_stream_responses.go | 2 +- .../operations/get_test_swagger_responses.go | 2 +- .../post_test_swagger_parameters.go | 2 +- .../operations/post_test_swagger_responses.go | 2 +- .../operations/put_test_swagger_parameters.go | 2 +- .../operations/put_test_swagger_responses.go | 2 +- examples/external-types/restapi/server.go | 2 +- .../file-server/client/file_upload_client.go | 2 +- .../cmd/file-upload-server/main.go | 4 +- .../restapi/configure_file_upload.go | 4 +- .../restapi/operations/file_upload_api.go | 2 +- examples/file-server/restapi/server.go | 2 +- examples/file-server/upload_file.go | 4 +- .../generated/cmd/petstore-server/main.go | 4 +- .../generated/restapi/configure_petstore.go | 8 +- .../operations/pet/add_pet_parameters.go | 2 +- .../pet/find_pets_by_status_responses.go | 2 +- .../pet/find_pets_by_tags_responses.go | 2 +- .../operations/pet/get_pet_by_id_responses.go | 2 +- .../operations/pet/update_pet_parameters.go | 2 +- .../restapi/operations/petstore_api.go | 6 +- .../store/get_order_by_id_responses.go | 2 +- .../store/place_order_parameters.go | 2 +- .../operations/store/place_order_responses.go | 2 +- .../operations/user/create_user_parameters.go | 2 +- ...reate_users_with_array_input_parameters.go | 2 +- ...create_users_with_list_input_parameters.go | 2 +- .../user/get_user_by_name_responses.go | 2 +- .../operations/user/update_user_parameters.go | 2 +- examples/generated/restapi/server.go | 2 +- examples/generated/swagger.json | 10 +- examples/oauth2/README.md | 4 +- .../oauth2/cmd/oauth-sample-server/main.go | 4 +- .../oauth2/restapi/configure_oauth_sample.go | 6 +- .../restapi/operations/customers/create.go | 2 +- .../operations/customers/create_parameters.go | 2 +- .../operations/customers/create_responses.go | 2 +- .../restapi/operations/customers/get_id.go | 2 +- .../operations/customers/get_id_parameters.go | 2 +- .../operations/customers/get_id_responses.go | 2 +- .../operations/get_auth_callback_responses.go | 2 +- .../restapi/operations/get_login_responses.go | 2 +- .../restapi/operations/oauth_sample_api.go | 4 +- examples/oauth2/restapi/server.go | 2 +- .../stream-client/client/jigsaw_client.go | 2 +- examples/stream-client/jigsaw.go | 4 +- examples/stream-server/README.md | 2 +- examples/stream-server/biz/count.go | 2 +- .../stream-server/client/countdown_client.go | 2 +- .../cmd/countdown-server/main.go | 4 +- examples/stream-server/elapsed_client.go | 6 +- .../restapi/configure_countdown.go | 4 +- examples/stream-server/restapi/server.go | 2 +- .../client/task_tracker_client.go | 2 +- .../tasks/add_comment_to_task_responses.go | 2 +- .../client/tasks/create_task_parameters.go | 2 +- .../client/tasks/create_task_responses.go | 2 +- .../client/tasks/delete_task_responses.go | 2 +- .../tasks/get_task_comments_responses.go | 2 +- .../tasks/get_task_details_responses.go | 2 +- .../client/tasks/list_tasks_responses.go | 2 +- .../client/tasks/update_task_parameters.go | 2 +- .../client/tasks/update_task_responses.go | 2 +- .../tasks/upload_task_file_responses.go | 2 +- .../cmd/task-tracker-server/main.go | 4 +- .../restapi/configure_task_tracker.go | 4 +- .../restapi/operations/task_tracker_api.go | 2 +- .../tasks/add_comment_to_task_responses.go | 2 +- .../tasks/create_task_parameters.go | 2 +- .../operations/tasks/create_task_responses.go | 2 +- .../operations/tasks/delete_task_responses.go | 2 +- .../tasks/get_task_comments_responses.go | 2 +- .../tasks/get_task_details_responses.go | 2 +- .../operations/tasks/list_tasks_responses.go | 2 +- .../tasks/update_task_parameters.go | 2 +- .../operations/tasks/update_task_responses.go | 2 +- .../tasks/upload_task_file_responses.go | 2 +- examples/task-tracker/restapi/server.go | 2 +- .../client/todo_list_client.go | 2 +- .../client/todos/add_one_parameters.go | 2 +- .../client/todos/add_one_responses.go | 2 +- .../client/todos/destroy_one_responses.go | 2 +- .../client/todos/find_responses.go | 2 +- .../client/todos/update_one_parameters.go | 2 +- .../client/todos/update_one_responses.go | 2 +- .../cmd/todo-list-server/main.go | 4 +- .../restapi/configure_todo_list.go | 4 +- .../restapi/operations/todo_list_api.go | 2 +- .../operations/todos/add_one_parameters.go | 2 +- .../operations/todos/add_one_responses.go | 2 +- .../operations/todos/destroy_one_responses.go | 2 +- .../operations/todos/find_responses.go | 2 +- .../operations/todos/update_one_parameters.go | 2 +- .../operations/todos/update_one_responses.go | 2 +- examples/todo-list-strict/restapi/server.go | 2 +- examples/todo-list/client/todo_list_client.go | 2 +- .../client/todos/add_one_parameters.go | 2 +- .../client/todos/add_one_responses.go | 2 +- .../client/todos/destroy_one_responses.go | 2 +- .../todo-list/client/todos/find_responses.go | 2 +- .../client/todos/update_one_parameters.go | 2 +- .../client/todos/update_one_responses.go | 2 +- .../todo-list/cmd/todo-list-server/main.go | 4 +- .../todo-list/restapi/configure_todo_list.go | 4 +- .../restapi/operations/todo_list_api.go | 2 +- .../operations/todos/add_one_parameters.go | 2 +- .../operations/todos/add_one_responses.go | 2 +- .../operations/todos/destroy_one_responses.go | 2 +- .../operations/todos/find_responses.go | 2 +- .../operations/todos/update_one_parameters.go | 2 +- .../operations/todos/update_one_responses.go | 2 +- examples/todo-list/restapi/server.go | 2 +- examples/tutorials/custom-server/README.md | 2 +- .../custom-server/cmd/greeter/main.go | 4 +- .../gen/restapi/configure_greeter.go | 2 +- .../custom-server/gen/restapi/server.go | 2 +- .../server-1/cmd/todo-list-server/main.go | 4 +- .../server-1/restapi/configure_todo_list.go | 4 +- .../restapi/operations/todo_list_api.go | 2 +- .../operations/todos/find_todos_responses.go | 2 +- .../todo-list/server-1/restapi/server.go | 2 +- .../server-2/cmd/todo-list-server/main.go | 4 +- .../server-2/restapi/configure_todo_list.go | 4 +- .../restapi/operations/todo_list_api.go | 2 +- .../operations/todos/add_one_parameters.go | 2 +- .../operations/todos/add_one_responses.go | 2 +- .../operations/todos/destroy_one_responses.go | 2 +- .../operations/todos/find_todos_responses.go | 2 +- .../operations/todos/update_one_parameters.go | 2 +- .../operations/todos/update_one_responses.go | 2 +- .../todo-list/server-2/restapi/server.go | 2 +- .../cmd/todo-list-server/main.go | 4 +- .../restapi/configure_todo_list.go | 6 +- .../restapi/operations/todo_list_api.go | 2 +- .../operations/todos/add_one_parameters.go | 2 +- .../operations/todos/add_one_responses.go | 2 +- .../operations/todos/destroy_one_responses.go | 2 +- .../operations/todos/find_todos_responses.go | 2 +- .../operations/todos/update_one_parameters.go | 2 +- .../operations/todos/update_one_responses.go | 2 +- .../server-complete/restapi/server.go | 2 +- fixtures/bugs/1042/pet_test.go | 4 +- fixtures/bugs/1084/unmarshal_test.gol | 2 +- .../1232/discriminatedMarshalling_test.go | 2 +- fixtures/bugs/1232/pet_test.go | 4 +- fixtures/bugs/1472/middleware_test.go | 6 +- fixtures/bugs/1548/base64Thing_test.go | 2 +- fixtures/bugs/1571/tupleThing_test.go | 2 +- fixtures/bugs/1719/fixture-1719.yaml | 10 +- fixtures/bugs/1897/fixture-1897.yaml | 2 +- fixtures/bugs/1943/datarace_test.go | 4 +- fixtures/bugs/2362/gen-fixtures.sh | 2 +- fixtures/bugs/2471/fixture-2471.yaml | 2 +- fixtures/bugs/910/required_interface_test.go | 2 +- fixtures/bugs/981/swagger.json | 2 +- fixtures/enhancements/184/fixture-184.yaml | 2 +- fixtures/enhancements/2224/fixture-2224.yaml | 12 +- .../classification/models/extranomodel.go | 2 +- .../classification/models/nomodel.go | 2 +- .../goparsing/classification/models/order.go | 2 +- .../classification/models/order_go118.go | 2 +- .../classification/operations/noparams.go | 4 +- .../classification/operations/responses.go | 2 +- fixtures/goparsing/petstore/models/pet.go | 2 +- .../petstore/petstore-fixture/main.go | 4 +- fixtures/goparsing/petstore/rest/app.go | 2 +- .../petstore/rest/handlers/orders.go | 2 +- .../goparsing/petstore/rest/handlers/pets.go | 4 +- fixtures/goparsing/spec/api_spec.json | 6 +- fixtures/goparsing/spec/api_spec.yml | 6 +- fixtures/goparsing/spec/api_spec_go111.json | 4 +- fixtures/goparsing/spec/api_spec_go111.yml | 4 +- generator/build_test.go | 2 +- generator/client_test.go | 2 +- generator/shared_test.go | 24 +- generator/template_repo_test.go | 4 +- generator/templates/cli/cli.gotmpl | 2 +- generator/templates/schemavalidator.gotmpl | 22 +- go.mod | 2 +- notes/v0.10.0.md | 68 +-- notes/v0.11.0.md | 110 ++--- notes/v0.12.0.md | 76 +-- notes/v0.13.0.md | 140 +++--- notes/v0.14.0.md | 436 +++++++++--------- notes/v0.15.0.md | 118 ++--- notes/v0.16.0.md | 70 +-- notes/v0.17.0.md | 72 +-- notes/v0.17.1.md | 26 +- notes/v0.17.2.md | 8 +- notes/v0.18.0.md | 102 ++-- notes/v0.19.0.md | 68 +-- notes/v0.20.0.md | 202 ++++---- notes/v0.20.1.md | 12 +- notes/v0.21.0.md | 40 +- notes/v0.22.0.md | 158 +++---- notes/v0.23.0.md | 44 +- notes/v0.24.0.md | 48 +- notes/v0.25.0.md | 88 ++-- notes/v0.26.0.md | 216 ++++----- notes/v0.26.1.md | 248 +++++----- notes/v0.27.0.md | 54 +-- notes/v0.28.0.md | 82 ++-- notes/v0.29.0.md | 46 +- notes/v0.30.0.md | 84 ++-- notes/v0.30.1.md | 10 +- notes/v0.30.2.md | 8 +- notes/v0.30.3.md | 26 +- notes/v0.5.0.md | 158 +++---- notes/v0.5.9.md | 162 +++---- notes/v0.6.0.md | 306 ++++++------ notes/v0.7.0.md | 46 +- notes/v0.7.1.md | 48 +- notes/v0.7.2.md | 10 +- notes/v0.7.3.md | 38 +- notes/v0.7.4.md | 48 +- notes/v0.8.0.md | 128 ++--- notes/v0.9.0.md | 244 +++++----- scan/classifier_test.go | 24 +- scan/schema.go | 2 +- scan/schema_test.go | 2 +- 381 files changed, 2559 insertions(+), 2559 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2288889e5..79dfcf8a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ WORKDIR /work RUN apk --no-cache add ca-certificates shared-mime-info mailcap git build-base binutils-gold RUN mkdir -p bin &&\ - LDFLAGS="$LDFLAGS -X github.com/go-swagger/go-swagger/cmd/swagger/commands.Commit=${commit_hash}" &&\ - LDFLAGS="$LDFLAGS -X github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=${tag_name}" &&\ + LDFLAGS="$LDFLAGS -X github.com/cloudentity/go-swagger/cmd/swagger/commands.Commit=${commit_hash}" &&\ + LDFLAGS="$LDFLAGS -X github.com/cloudentity/go-swagger/cmd/swagger/commands.Version=${tag_name}" &&\ CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -tags osusergo,netgo -o bin/swagger -ldflags "$LDFLAGS" -a ./cmd/swagger FROM --platform=$TARGETPLATFORM golang:alpine diff --git a/README.md b/README.md index 03879ea47..9265ad7e5 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) [![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/swagger-api/swagger-spec/master/LICENSE) -[![GoDoc](https://godoc.org/github.com/go-swagger/go-swagger?status.svg)](http://godoc.org/github.com/go-swagger/go-swagger) +[![GoDoc](https://godoc.org/github.com/cloudentity/go-swagger?status.svg)](http://godoc.org/github.com/cloudentity/go-swagger) [![Docker Repository on Quay](https://quay.io/repository/goswagger/swagger/status "Docker Repository on Quay")](https://quay.io/repository/goswagger/swagger) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_shield) -[![GolangCI](https://golangci.com/badges/github.com/go-swagger/go-swagger.svg)](https://golangci.com) -[![Go Report Card](https://goreportcard.com/badge/github.com/go-swagger/go-swagger)](https://goreportcard.com/report/github.com/go-swagger/go-swagger) +[![GolangCI](https://golangci.com/badges/github.com/cloudentity/go-swagger.svg)](https://golangci.com) +[![Go Report Card](https://goreportcard.com/badge/github.com/cloudentity/go-swagger)](https://goreportcard.com/report/github.com/cloudentity/go-swagger) This package contains a golang implementation of Swagger 2.0 (aka [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md)): it knows how to serialize and deserialize swagger specifications. @@ -136,7 +136,7 @@ To generate a [client for a swagger spec](https://goswagger.io/generate/client.h swagger generate client [-f ./swagger.json] -A [application-name [--principal [principal-name]] ``` ### Generate an CLI (Command line tool) -To generate a [CLI for a swagger spec](https://github.com/go-swagger/go-swagger/tree/master/examples/cli) document: +To generate a [CLI for a swagger spec](https://github.com/cloudentity/go-swagger/tree/master/examples/cli) document: ``` swagger generate cli [-f ./swagger.json] -A [application-name [--principal [principal-name]] ``` @@ -192,7 +192,7 @@ swagger generate markdown -f {spec} --output swagger.mode Try `go-swagger` in a free online workspace using Gitpod: -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/go-swagger/go-swagger) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/cloudentity/go-swagger) ## Licensing @@ -276,10 +276,10 @@ Spec flattening and $ref resolution brought breaking changes in model generation You will have to rename some imports: ``` -github.com/go-swagger/go-swagger/httpkit/validate to github.com/go-openapi/validate -github.com/go-swagger/go-swagger/httpkit to github.com/go-openapi/runtime +github.com/cloudentity/go-swagger/httpkit/validate to github.com/go-openapi/validate +github.com/cloudentity/go-swagger/httpkit to github.com/go-openapi/runtime github.com/naoina/denco to github.com/go-openapi/runtime/middleware/denco -github.com/go-swagger/go-swagger to github.com/go-openapi +github.com/cloudentity/go-swagger to github.com/go-openapi ``` ### Using 0.5.0 diff --git a/book.json b/book.json index a810d03be..d72656cb4 100644 --- a/book.json +++ b/book.json @@ -3,7 +3,7 @@ "plugins": [ "forkmegithub", "prism", "-highlight", "anchors" ], "pluginsConfig": { "forkmegithub": { - "url": "https://github.com/go-swagger/go-swagger", + "url": "https://github.com/cloudentity/go-swagger", "color": "green" } } diff --git a/cmd/swagger/commands/diff.go b/cmd/swagger/commands/diff.go index 5999f4948..d1e74bc0b 100644 --- a/cmd/swagger/commands/diff.go +++ b/cmd/swagger/commands/diff.go @@ -10,7 +10,7 @@ import ( "errors" "github.com/go-openapi/loads" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/diff" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/diff" ) // JSONFormat for json diff --git a/cmd/swagger/commands/diff/spec_analyser_test.go b/cmd/swagger/commands/diff/spec_analyser_test.go index b2a12f225..70785f95c 100644 --- a/cmd/swagger/commands/diff/spec_analyser_test.go +++ b/cmd/swagger/commands/diff/spec_analyser_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/go-openapi/loads" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/internal/cmdtest" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/internal/cmdtest" "github.com/stretchr/testify/require" ) diff --git a/cmd/swagger/commands/diff/spec_difference_test.go b/cmd/swagger/commands/diff/spec_difference_test.go index 205253f6d..fbdedce05 100644 --- a/cmd/swagger/commands/diff/spec_difference_test.go +++ b/cmd/swagger/commands/diff/spec_difference_test.go @@ -3,7 +3,7 @@ package diff_test import ( "testing" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/diff" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/diff" "github.com/stretchr/testify/require" ) diff --git a/cmd/swagger/commands/diff_test.go b/cmd/swagger/commands/diff_test.go index 9851b63e0..2862d213c 100644 --- a/cmd/swagger/commands/diff_test.go +++ b/cmd/swagger/commands/diff_test.go @@ -10,8 +10,8 @@ import ( "testing" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/diff" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/internal/cmdtest" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/diff" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/internal/cmdtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/cmd/swagger/commands/flatten.go b/cmd/swagger/commands/flatten.go index b30b50fd5..d18789a12 100644 --- a/cmd/swagger/commands/flatten.go +++ b/cmd/swagger/commands/flatten.go @@ -5,7 +5,7 @@ import ( "github.com/go-openapi/analysis" "github.com/go-openapi/loads" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate.go b/cmd/swagger/commands/generate.go index 5f4b8598f..015018e9e 100644 --- a/cmd/swagger/commands/generate.go +++ b/cmd/swagger/commands/generate.go @@ -14,7 +14,7 @@ package commands -import "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" +import "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" // Generate command to group all generator commands together type Generate struct { diff --git a/cmd/swagger/commands/generate/cli.go b/cmd/swagger/commands/generate/cli.go index e8ea11c79..bc7a6fdc1 100644 --- a/cmd/swagger/commands/generate/cli.go +++ b/cmd/swagger/commands/generate/cli.go @@ -1,6 +1,6 @@ package generate -import "github.com/go-swagger/go-swagger/generator" +import "github.com/cloudentity/go-swagger/generator" type Cli struct { // generate a cli includes all client code diff --git a/cmd/swagger/commands/generate/cli_test.go b/cmd/swagger/commands/generate/cli_test.go index 5dbe34d65..315428cc6 100644 --- a/cmd/swagger/commands/generate/cli_test.go +++ b/cmd/swagger/commands/generate/cli_test.go @@ -8,7 +8,7 @@ import ( "path/filepath" "testing" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/cmd/swagger/commands/generate/client.go b/cmd/swagger/commands/generate/client.go index 3a78b5622..6d7832b72 100644 --- a/cmd/swagger/commands/generate/client.go +++ b/cmd/swagger/commands/generate/client.go @@ -17,7 +17,7 @@ package generate import ( "log" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) type clientOptions struct { diff --git a/cmd/swagger/commands/generate/client_test.go b/cmd/swagger/commands/generate/client_test.go index f90cd2c46..b400e6212 100644 --- a/cmd/swagger/commands/generate/client_test.go +++ b/cmd/swagger/commands/generate/client_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate/contrib.go b/cmd/swagger/commands/generate/contrib.go index 196558e70..3469b67e5 100644 --- a/cmd/swagger/commands/generate/contrib.go +++ b/cmd/swagger/commands/generate/contrib.go @@ -1,7 +1,7 @@ package generate import ( - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) // contribOptionsOverride gives contributed templates the ability to override the options if they need diff --git a/cmd/swagger/commands/generate/markdown.go b/cmd/swagger/commands/generate/markdown.go index ba9df3812..8ee59dbe4 100644 --- a/cmd/swagger/commands/generate/markdown.go +++ b/cmd/swagger/commands/generate/markdown.go @@ -1,7 +1,7 @@ package generate import ( - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate/markdown_test.go b/cmd/swagger/commands/generate/markdown_test.go index 28334ad40..fba078cd2 100644 --- a/cmd/swagger/commands/generate/markdown_test.go +++ b/cmd/swagger/commands/generate/markdown_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate/model.go b/cmd/swagger/commands/generate/model.go index 7120ccfb0..708882d47 100644 --- a/cmd/swagger/commands/generate/model.go +++ b/cmd/swagger/commands/generate/model.go @@ -18,7 +18,7 @@ import ( "errors" "log" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) type modelOptions struct { diff --git a/cmd/swagger/commands/generate/model_test.go b/cmd/swagger/commands/generate/model_test.go index 45e8312e8..063ae8fe4 100644 --- a/cmd/swagger/commands/generate/model_test.go +++ b/cmd/swagger/commands/generate/model_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" "github.com/stretchr/testify/assert" ) diff --git a/cmd/swagger/commands/generate/operation.go b/cmd/swagger/commands/generate/operation.go index ba554314a..2b40f0d13 100644 --- a/cmd/swagger/commands/generate/operation.go +++ b/cmd/swagger/commands/generate/operation.go @@ -18,7 +18,7 @@ import ( "errors" "log" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) type operationOptions struct { diff --git a/cmd/swagger/commands/generate/operation_test.go b/cmd/swagger/commands/generate/operation_test.go index c1ee3254e..58ee53261 100644 --- a/cmd/swagger/commands/generate/operation_test.go +++ b/cmd/swagger/commands/generate/operation_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate/server.go b/cmd/swagger/commands/generate/server.go index 92495adde..5d406f19a 100644 --- a/cmd/swagger/commands/generate/server.go +++ b/cmd/swagger/commands/generate/server.go @@ -18,7 +18,7 @@ import ( "log" "strings" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) type serverOptions struct { diff --git a/cmd/swagger/commands/generate/server_internal_test.go b/cmd/swagger/commands/generate/server_internal_test.go index 8f8c4626b..e83966098 100644 --- a/cmd/swagger/commands/generate/server_internal_test.go +++ b/cmd/swagger/commands/generate/server_internal_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" "github.com/stretchr/testify/assert" ) diff --git a/cmd/swagger/commands/generate/server_test.go b/cmd/swagger/commands/generate/server_test.go index af72c8ae5..222e50147 100644 --- a/cmd/swagger/commands/generate/server_test.go +++ b/cmd/swagger/commands/generate/server_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" "github.com/jessevdk/go-flags" ) @@ -102,7 +102,7 @@ func TestRegressionIssue2601(t *testing.T) { // Error was coming from these two being set together m.Shared.StrictResponders = true - m.ImplementationPackage = "github.com/go-swagger/go-swagger/fixtures/codegen/impl" + m.ImplementationPackage = "github.com/cloudentity/go-swagger/fixtures/codegen/impl" // Load new copy of template m.Shared.AllowTemplateOverride = true diff --git a/cmd/swagger/commands/generate/shared.go b/cmd/swagger/commands/generate/shared.go index ab9725a7c..38591c557 100644 --- a/cmd/swagger/commands/generate/shared.go +++ b/cmd/swagger/commands/generate/shared.go @@ -9,7 +9,7 @@ import ( "github.com/go-openapi/analysis" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" flags "github.com/jessevdk/go-flags" "github.com/spf13/viper" ) diff --git a/cmd/swagger/commands/generate/sharedopts_nonwin.go b/cmd/swagger/commands/generate/sharedopts_nonwin.go index 7f7c25187..5ec7beb51 100644 --- a/cmd/swagger/commands/generate/sharedopts_nonwin.go +++ b/cmd/swagger/commands/generate/sharedopts_nonwin.go @@ -4,7 +4,7 @@ package generate import ( - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/generate/spec.go b/cmd/swagger/commands/generate/spec.go index 3e16789b6..021b024f9 100644 --- a/cmd/swagger/commands/generate/spec.go +++ b/cmd/swagger/commands/generate/spec.go @@ -25,7 +25,7 @@ import ( "github.com/go-openapi/loads" "github.com/go-openapi/spec" - "github.com/go-swagger/go-swagger/scan" + "github.com/cloudentity/go-swagger/scan" "github.com/jessevdk/go-flags" "gopkg.in/yaml.v3" ) diff --git a/cmd/swagger/commands/generate/spec_go111.go b/cmd/swagger/commands/generate/spec_go111.go index bf2295864..df5f63bf6 100644 --- a/cmd/swagger/commands/generate/spec_go111.go +++ b/cmd/swagger/commands/generate/spec_go111.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "github.com/go-swagger/go-swagger/codescan" + "github.com/cloudentity/go-swagger/codescan" "github.com/go-openapi/loads" "github.com/go-openapi/spec" diff --git a/cmd/swagger/commands/generate/spec_go111_test.go b/cmd/swagger/commands/generate/spec_go111_test.go index c43208fa4..c6c3a1048 100644 --- a/cmd/swagger/commands/generate/spec_go111_test.go +++ b/cmd/swagger/commands/generate/spec_go111_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/go-swagger/go-swagger/codescan" + "github.com/cloudentity/go-swagger/codescan" "github.com/jessevdk/go-flags" "github.com/stretchr/testify/assert" diff --git a/cmd/swagger/commands/generate/spec_test.go b/cmd/swagger/commands/generate/spec_test.go index 78c79988c..0ef94ac23 100644 --- a/cmd/swagger/commands/generate/spec_test.go +++ b/cmd/swagger/commands/generate/spec_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/go-swagger/go-swagger/scan" + "github.com/cloudentity/go-swagger/scan" "github.com/jessevdk/go-flags" "github.com/stretchr/testify/assert" "gopkg.in/yaml.v3" diff --git a/cmd/swagger/commands/generate/support.go b/cmd/swagger/commands/generate/support.go index 9e52f428c..7647d8d54 100644 --- a/cmd/swagger/commands/generate/support.go +++ b/cmd/swagger/commands/generate/support.go @@ -17,7 +17,7 @@ package generate import ( "log" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) // Support generates the supporting files diff --git a/cmd/swagger/commands/generate/support_test.go b/cmd/swagger/commands/generate/support_test.go index 895255e2c..b58f86a54 100644 --- a/cmd/swagger/commands/generate/support_test.go +++ b/cmd/swagger/commands/generate/support_test.go @@ -7,7 +7,7 @@ import ( "path/filepath" "testing" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/cmd/swagger/commands/initcmd.go b/cmd/swagger/commands/initcmd.go index 7a992f2b7..5fac2dec7 100644 --- a/cmd/swagger/commands/initcmd.go +++ b/cmd/swagger/commands/initcmd.go @@ -1,6 +1,6 @@ package commands -import "github.com/go-swagger/go-swagger/cmd/swagger/commands/initcmd" +import "github.com/cloudentity/go-swagger/cmd/swagger/commands/initcmd" // InitCmd is a command namespace for initializing things like a swagger spec. type InitCmd struct { diff --git a/cmd/swagger/commands/mixin.go b/cmd/swagger/commands/mixin.go index 79e26c440..eed3cf9d1 100644 --- a/cmd/swagger/commands/mixin.go +++ b/cmd/swagger/commands/mixin.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/spec" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/generator" + "github.com/cloudentity/go-swagger/generator" ) const ( diff --git a/cmd/swagger/swagger.go b/cmd/swagger/swagger.go index dfc89ba2e..83db4f358 100644 --- a/cmd/swagger/swagger.go +++ b/cmd/swagger/swagger.go @@ -19,7 +19,7 @@ import ( "log" "os" - "github.com/go-swagger/go-swagger/cmd/swagger/commands" + "github.com/cloudentity/go-swagger/cmd/swagger/commands" flags "github.com/jessevdk/go-flags" ) diff --git a/codescan/application_test.go b/codescan/application_test.go index 6ea605f76..fccc6e238 100644 --- a/codescan/application_test.go +++ b/codescan/application_test.go @@ -21,7 +21,7 @@ func loadPetstorePkgsCtx(t testing.TB) *scanCtx { return petstoreCtx } sctx, err := newScanCtx(&Options{ - Packages: []string{"github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/..."}, + Packages: []string{"github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/..."}, }) require.NoError(t, err) petstoreCtx = sctx @@ -34,9 +34,9 @@ func loadClassificationPkgsCtx(t testing.TB, extra ...string) *scanCtx { } sctx, err := newScanCtx(&Options{ Packages: append([]string{ - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations", }, extra...), }) require.NoError(t, err) @@ -57,7 +57,7 @@ func TestApplication_LoadCode(t *testing.T) { func TestAppScanner_NewSpec(t *testing.T) { doc, err := Run(&Options{ - Packages: []string{"github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/..."}, + Packages: []string{"github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/..."}, }) require.NoError(t, err) if assert.NotNil(t, doc) { @@ -69,7 +69,7 @@ func TestAppScanner_NewSpec(t *testing.T) { func TestAppScanner_Definitions(t *testing.T) { doc, err := Run(&Options{ - Packages: []string{"github.com/go-swagger/go-swagger/fixtures/goparsing/bookings/..."}, + Packages: []string{"github.com/cloudentity/go-swagger/fixtures/goparsing/bookings/..."}, ScanModels: true, }) require.NoError(t, err) diff --git a/codescan/operations_go119_test.go b/codescan/operations_go119_test.go index 1b049ad15..ef989ceac 100644 --- a/codescan/operations_go119_test.go +++ b/codescan/operations_go119_test.go @@ -11,7 +11,7 @@ import ( func TestIndentedYAMLBlock(t *testing.T) { sctx, err := newScanCtx(&Options{ Packages: []string{ - "github.com/go-swagger/go-swagger/fixtures/goparsing/go119", + "github.com/cloudentity/go-swagger/fixtures/goparsing/go119", }, }) require.NoError(t, err) diff --git a/codescan/operations_test.go b/codescan/operations_test.go index 5ec994a22..02e1a1a1c 100644 --- a/codescan/operations_test.go +++ b/codescan/operations_test.go @@ -17,10 +17,10 @@ func TestOperationsExpression(t *testing.T) { func TestOperationsParser(t *testing.T) { sctx, err := newScanCtx(&Options{ Packages: []string{ - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations_annotation", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations_annotation", }, }) require.NoError(t, err) diff --git a/codescan/responses_test.go b/codescan/responses_test.go index 5a10293fe..63bdc30bf 100644 --- a/codescan/responses_test.go +++ b/codescan/responses_test.go @@ -263,7 +263,7 @@ func TestParseResponses_Issue2011(t *testing.T) { func TestParseResponses_Issue2145(t *testing.T) { sctx, err := newScanCtx(&Options{ - Packages: []string{"github.com/go-swagger/go-swagger/fixtures/goparsing/product/..."}, + Packages: []string{"github.com/cloudentity/go-swagger/fixtures/goparsing/product/..."}, }) require.NoError(t, err) responses := make(map[string]spec.Response) diff --git a/codescan/routes_test.go b/codescan/routes_test.go index 81d0b90c4..064beda49 100644 --- a/codescan/routes_test.go +++ b/codescan/routes_test.go @@ -129,10 +129,10 @@ func TestRoutesParser(t *testing.T) { func TestRoutesParserBody(t *testing.T) { sctx, err := newScanCtx(&Options{ Packages: []string{ - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations", - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations_body", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations", + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations_body", }, }) require.NoError(t, err) diff --git a/codescan/schema_go118_test.go b/codescan/schema_go118_test.go index 9ba1b19b0..9f1833170 100644 --- a/codescan/schema_go118_test.go +++ b/codescan/schema_go118_test.go @@ -21,7 +21,7 @@ func loadGo118ClassificationPkgsCtx(t testing.TB, extra ...string) *scanCtx { } sctx, err := newScanCtx(&Options{ Packages: append([]string{ - "github.com/go-swagger/go-swagger/fixtures/goparsing/go118", + "github.com/cloudentity/go-swagger/fixtures/goparsing/go118", }, extra...), }) require.NoError(t, err) @@ -30,7 +30,7 @@ func loadGo118ClassificationPkgsCtx(t testing.TB, extra ...string) *scanCtx { } func getGo118ClassificationModel(sctx *scanCtx, nm string) *entityDecl { - decl, ok := sctx.FindDecl("github.com/go-swagger/go-swagger/fixtures/goparsing/go118", nm) + decl, ok := sctx.FindDecl("github.com/cloudentity/go-swagger/fixtures/goparsing/go118", nm) if !ok { return nil } diff --git a/codescan/schema_test.go b/codescan/schema_test.go index e60420666..1fa6e7482 100644 --- a/codescan/schema_test.go +++ b/codescan/schema_test.go @@ -279,7 +279,7 @@ func TestSchemaBuilder(t *testing.T) { require.NotNil(t, decl2) require.NoError(t, (&schemaBuilder{decl: decl2, ctx: sctx}).Build(models)) msch, ok := models["order"] - pn := "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models" + pn := "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models" assert.True(t, ok) assert.Equal(t, pn, msch.Extensions["x-go-package"]) assert.Equal(t, "StoreOrder", msch.Extensions["x-go-name"]) @@ -293,7 +293,7 @@ func TestSchemaBuilder_AddExtensions(t *testing.T) { require.NoError(t, (&schemaBuilder{decl: decl, ctx: sctx}).Build(models)) msch, ok := models["order"] - pn := "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models" + pn := "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models" assert.True(t, ok) assert.Equal(t, pn, msch.Extensions["x-go-package"]) assert.Equal(t, "StoreOrder", msch.Extensions["x-go-name"]) @@ -996,7 +996,7 @@ func TestAddExtension(t *testing.T) { } func getClassificationModel(sctx *scanCtx, nm string) *entityDecl { - decl, ok := sctx.FindDecl("github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models", nm) + decl, ok := sctx.FindDecl("github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models", nm) if !ok { return nil } diff --git a/doc.go b/doc.go index 077b63d1f..eef0329c3 100644 --- a/doc.go +++ b/doc.go @@ -33,7 +33,7 @@ More detailed documentation is available at https://goswagger.io. Install: - go get -u github.com/go-swagger/go-swagger/cmd/swagger + go get -u github.com/cloudentity/go-swagger/cmd/swagger The implementation also provides a number of command line tools to help working with swagger. diff --git a/docs/README.md b/docs/README.md index 51321b83a..73eb06319 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,11 +1,11 @@ # Swagger 2.0 [![Build Status](https://circleci.com/gh/go-swagger/go-swagger.svg?style=shield)](https://circleci.com/gh/go-swagger/go-swagger) [![Build status](https://ci.appveyor.com/api/projects/status/x377t5o9ennm847o/branch/master?svg=true)](https://ci.appveyor.com/project/casualjim/go-swagger/branch/master) [![codecov](https://codecov.io/gh/go-swagger/go-swagger/branch/master/graph/badge.svg)](https://codecov.io/gh/go-swagger/go-swagger) [![GitHub version](https://badge.fury.io/gh/go-swagger%2Fgo-swagger.svg)](https://badge.fury.io/gh/go-swagger%2Fgo-swagger) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) [![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/swagger-api/swagger-spec/master/LICENSE) -[![GoDoc](https://godoc.org/github.com/go-swagger/go-swagger?status.svg)](http://godoc.org/github.com/go-swagger/go-swagger) +[![GoDoc](https://godoc.org/github.com/cloudentity/go-swagger?status.svg)](http://godoc.org/github.com/cloudentity/go-swagger) [![Docker Repository on Quay](https://quay.io/repository/goswagger/swagger/status "Docker Repository on Quay")](https://quay.io/repository/goswagger/swagger) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgo-swagger%2Fgo-swagger?ref=badge_shield) -[![GolangCI](https://golangci.com/badges/github.com/go-swagger/go-swagger.svg)](https://golangci.com) -[![Go Report Card](https://goreportcard.com/badge/github.com/go-swagger/go-swagger)](https://goreportcard.com/report/github.com/go-swagger/go-swagger) +[![GolangCI](https://golangci.com/badges/github.com/cloudentity/go-swagger.svg)](https://golangci.com) +[![Go Report Card](https://goreportcard.com/badge/github.com/cloudentity/go-swagger)](https://goreportcard.com/report/github.com/cloudentity/go-swagger) This package contains a golang implementation of Swagger 2.0 (aka [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md)): it knows how to serialize and deserialize swagger specifications. @@ -135,7 +135,7 @@ To generate a [client for a swagger spec](https://goswagger.io/generate/client.h swagger generate client [-f ./swagger.json] -A [application-name [--principal [principal-name]] ``` ### Generate an CLI (Command line tool) -To generate a [CLI for a swagger spec](https://github.com/go-swagger/go-swagger/tree/master/examples/cli) document: +To generate a [CLI for a swagger spec](https://github.com/cloudentity/go-swagger/tree/master/examples/cli) document: ``` swagger generate cli [-f ./swagger.json] -A [application-name [--principal [principal-name]] ``` @@ -191,7 +191,7 @@ swagger generate markdown -f {spec} --output swagger.mode Try `go-swagger` in a free online workspace using Gitpod: -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/go-swagger/go-swagger) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/cloudentity/go-swagger) ## Licensing @@ -275,10 +275,10 @@ Spec flattening and $ref resolution brought breaking changes in model generation You will have to rename some imports: ``` -github.com/go-swagger/go-swagger/httpkit/validate to github.com/go-openapi/validate -github.com/go-swagger/go-swagger/httpkit to github.com/go-openapi/runtime +github.com/cloudentity/go-swagger/httpkit/validate to github.com/go-openapi/validate +github.com/cloudentity/go-swagger/httpkit to github.com/go-openapi/runtime github.com/naoina/denco to github.com/go-openapi/runtime/middleware/denco -github.com/go-swagger/go-swagger to github.com/go-openapi +github.com/cloudentity/go-swagger to github.com/go-openapi ``` ### Using 0.5.0 diff --git a/docs/faq/README.md b/docs/faq/README.md index 5974cabe9..061cc52d3 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -1,13 +1,13 @@ # FAQ This FAQ is actually a recap of questions reported by the community -(you may search [past and current issues labelled as "question"](https://github.com/go-swagger/go-swagger/issues?q=is%3Aissue+label%3Aquestion)). +(you may search [past and current issues labelled as "question"](https://github.com/cloudentity/go-swagger/issues?q=is%3Aissue+label%3Aquestion)). Original issues are kept as links for additional details about the inquirer's use-case. >*We regularly update this document based on questions asked by the community in the "issues" section of the go-swagger repository.* -You may also find most recent questions on Github [here](https://github.com/go-swagger/go-swagger/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Aquestion). +You may also find most recent questions on Github [here](https://github.com/cloudentity/go-swagger/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Aquestion). Feel free to contribute new questions and share your experience with go-swagger! **Disclaimer**: some of this material might be outdated, as the project is rapidly evolving. diff --git a/docs/faq/faq_client.md b/docs/faq/faq_client.md index 5bb7d85de..dd5757fea 100644 --- a/docs/faq/faq_client.md +++ b/docs/faq/faq_client.md @@ -23,7 +23,7 @@ The use case for the server side is covered but not the client side. That being said, you might find this test useful as an example: [runtime test](https://github.com/go-openapi/runtime/blob/master/client/runtime_test.go#L144-L188) -Originally from issue [#996](https://github.com/go-swagger/go-swagger/issues/996). +Originally from issue [#996](https://github.com/cloudentity/go-swagger/issues/996). ### Can we set a User-Agent header? _Use-Case_: we would like to be able to set an arbitrary user-agent header either at client generation time or at compile time. @@ -37,7 +37,7 @@ _Use-Case_: we would like to be able to set an arbitrary user-agent header eithe - You can use a custom transport which allows you to set the user agent. https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L132 - Then you can configure it with this constructor method -https://github.com/go-swagger/go-swagger/blob/master/examples/todo-list/client/todo_list_client.go#L52 +https://github.com/cloudentity/go-swagger/blob/master/examples/todo-list/client/todo_list_client.go#L52 - You can also configure that runtime with a `stdlib http.Client` https://github.com/go-openapi/runtime/blob/master/client/runtime.go#L167 - You can extend intercept a http request with the `http.RoundTripper interface`. https://godoc.org/net/http#RoundTripper @@ -58,9 +58,9 @@ reading and modifying the `*http.Request` before its sent? >The roundtripper is the last thing executed before sending the request on the wire. -See also issue [#935](https://github.com/go-swagger/go-swagger/issues/935). +See also issue [#935](https://github.com/cloudentity/go-swagger/issues/935). -Originally from issue [#911](https://github.com/go-swagger/go-swagger/issues/911). +Originally from issue [#911](https://github.com/cloudentity/go-swagger/issues/911). ------------- diff --git a/docs/faq/faq_documenting.md b/docs/faq/faq_documenting.md index d3230a500..d42b0a299 100644 --- a/docs/faq/faq_documenting.md +++ b/docs/faq/faq_documenting.md @@ -41,9 +41,9 @@ I'm reluctant to do so at this point in time because a git submodule break go-ge >On top of it it are a lot of javascript and html files and people haven't been over the moon when go-swagger gets >vendored and they see all of that. -Originally from issue [#370](https://github.com/go-swagger/go-swagger/issues/370). +Originally from issue [#370](https://github.com/cloudentity/go-swagger/issues/370). -See also: How to serve Swagger UI from a preexisting web app? [#1029](https://github.com/go-swagger/go-swagger/issues/1029). +See also: How to serve Swagger UI from a preexisting web app? [#1029](https://github.com/cloudentity/go-swagger/issues/1029). ### How to serve Swagger UI from a preexisting web app? _Use-Case_: Does go-swagger provide an `http.HandlerFunc` or other easy method for serving Swagger UI from a preexisting web app? @@ -53,7 +53,7 @@ I want my web app to expose `/swagger-ui`, without using code generation, and wi Use the middleware provided in the go-openapi/runtime package: https://github.com/go-openapi/runtime/blob/master/middleware/redoc.go -Originally from issues [#1029](https://github.com/go-swagger/go-swagger/issues/1029) and [#976](https://github.com/go-swagger/go-swagger/issues/976) +Originally from issues [#1029](https://github.com/cloudentity/go-swagger/issues/1029) and [#976](https://github.com/cloudentity/go-swagger/issues/976) ### How to use swagger-ui cors? @@ -74,7 +74,7 @@ func setupGlobalMiddleware(handler http.Handler) http.Handler { } ``` -Originally from issue [#481](https://github.com/go-swagger/go-swagger/issues/481). +Originally from issue [#481](https://github.com/cloudentity/go-swagger/issues/481). ### How to serve my UI files? _Use-Case_: I generated server code using go-swagger with my swagger.yaml file like below. @@ -108,11 +108,11 @@ But I'm not sure it is the best solution. That page also contains a link to a good explanation on how to create net/http middlewares. > An implementation example is provided by the go-swagger serve UI command. It constructs a server with a redoc middleware: -> https://github.com/go-swagger/go-swagger/blob/f552963ac0dfdec0450f6749aeeeeb2d31cd5544/cmd/swagger/commands/serve.go#L35. +> https://github.com/cloudentity/go-swagger/blob/f552963ac0dfdec0450f6749aeeeeb2d31cd5544/cmd/swagger/commands/serve.go#L35. Besides, every swagger generated server comes with the redoc UI baked in at `/{basepath}/docs` -Originally from issue [#1375](https://github.com/go-swagger/go-swagger/issues/1375). +Originally from issue [#1375](https://github.com/cloudentity/go-swagger/issues/1375). ------------------- diff --git a/docs/faq/faq_model.md b/docs/faq/faq_model.md index 01baaadd7..a41a76674 100644 --- a/docs/faq/faq_model.md +++ b/docs/faq/faq_model.md @@ -32,16 +32,16 @@ Another way is to use the `x-go-type extension`, to replace type generation with There is the opportunity to get go-swagger to reuse a predefined type to satisfy the definition in the swagger spec. Imported package and type alias may be specified as options, as shown in this example: -https://github.com/go-swagger/go-swagger/blob/master/fixtures/codegen/existing-model.yml#L99-L103 +https://github.com/cloudentity/go-swagger/blob/master/fixtures/codegen/existing-model.yml#L99-L103 That example reuses a type provided by a library with a package alias and type name. The code generator will respect this. You might use both, preparing a customized model from an initially generated structure, then reusing type custom type in other declarations by hinting the generator with x-go-type. -Further, for repetitive customization, you might be willing to customize the generator's templates. Like in [here](https://github.com/go-swagger/go-swagger/blob/master/generator/templates/schemavalidator.gotmpl) -for models, or in [here](https://github.com/go-swagger/go-swagger/blob/master/generator/templates/server/parameter.gotmpl) for inline parameters. +Further, for repetitive customization, you might be willing to customize the generator's templates. Like in [here](https://github.com/cloudentity/go-swagger/blob/master/generator/templates/schemavalidator.gotmpl) +for models, or in [here](https://github.com/cloudentity/go-swagger/blob/master/generator/templates/server/parameter.gotmpl) for inline parameters. -Originally from issues [#997](https://github.com/go-swagger/go-swagger/issues/997) and [#1334](https://github.com/go-swagger/go-swagger/issues/1334) +Originally from issues [#997](https://github.com/cloudentity/go-swagger/issues/997) and [#1334](https://github.com/cloudentity/go-swagger/issues/1334) ### Non-required or nullable property? _Use-Case_: when a definition has a property N, if N is a number and is not required, @@ -57,7 +57,7 @@ This will also apply for returning objects that return false and so on. **Hint**: a workaround for this is to use the extension **x-nullable:true** on properties. -Originally from issue [#959](https://github.com/go-swagger/go-swagger/issues/959). (*more discussion on edge cases there*). +Originally from issue [#959](https://github.com/cloudentity/go-swagger/issues/959). (*more discussion on edge cases there*). Related: [go-openapi/validate#19](https://github.com/go-openapi/validate/issues/19). @@ -102,7 +102,7 @@ post: **Hint**: more generally, you might want to check the validity of your spec re the OpenAPI 2.0 schema before trying generation, using the `swagger validate {spec}` command. -Originally from issue [#990](https://github.com/go-swagger/go-swagger/issues/990). +Originally from issue [#990](https://github.com/cloudentity/go-swagger/issues/990). ### Request response can have different objects returned based on query parameters _Use-Case_: I have a POST request that returns different object models based on the query parameters. @@ -173,7 +173,7 @@ paths: ... ``` -Originally from issue [#932](https://github.com/go-swagger/go-swagger/issues/932). +Originally from issue [#932](https://github.com/cloudentity/go-swagger/issues/932). ### How to validate dates and times? JSON schema and Swagger (aka OpenAPI 2.0) define ISO-8601 dates as a known format (e.g. date-time, or `yyyy-MM-dd'T'HH:mm:ss.SSS'Z`). @@ -195,12 +195,12 @@ is documented [here](https://godoc.org/github.com/go-openapi/strfmt). Regarding dates, this package extends validation to [RFC3339](https://tools.ietf.org/html/rfc3339) full-date format (e.g. "2006-01-02"). -Originally from issue [#643](https://github.com/go-swagger/go-swagger/issues/643). +Originally from issue [#643](https://github.com/cloudentity/go-swagger/issues/643). ### Accessing the Default return value _Use-Case_: I was wondering how I would get the default response from the client? -Note: see also [Access HTTP status code from client#597](https://github.com/go-swagger/go-swagger/issues/597). +Note: see also [Access HTTP status code from client#597](https://github.com/cloudentity/go-swagger/issues/597). I have a spec like this: ```YAML @@ -271,7 +271,7 @@ casted, ok := err.(*operations.GetDeployDefault) Because it's a struct type it will be a pointer. -Originally from issue [#616](https://github.com/go-swagger/go-swagger/issues/616). +Originally from issue [#616](https://github.com/cloudentity/go-swagger/issues/616). ### How to avoid deep copies of complex data structures that need to be marshalled across the API? _Use-Case_: @@ -311,9 +311,9 @@ _Similar Use-Case_: *How do you use the swagger spec to define a raw JSON or XML transfer, defined by the subsystem's types?* **Hint**: you may use the `x-go-type` model annotation that allows you to use pre-existing types as models, you annotate your spec like this: -https://github.com/go-swagger/go-swagger/blob/master/fixtures/codegen/existing-model.yml#L99-103 +https://github.com/cloudentity/go-swagger/blob/master/fixtures/codegen/existing-model.yml#L99-103 -Originally from issue [#948](https://github.com/go-swagger/go-swagger/issues/948). +Originally from issue [#948](https://github.com/cloudentity/go-swagger/issues/948). ### Extra sections in POST body @@ -336,7 +336,7 @@ Two questions: **Answer**: use `additionalProperties: false` or `additionalProperties: true` in your definition. when it's set to true you'll have a `map[string]interface{}` added. -Originally from issue [#1337](https://github.com/go-swagger/go-swagger/issues/1337). +Originally from issue [#1337](https://github.com/cloudentity/go-swagger/issues/1337). ### How to support generate type int? @@ -354,7 +354,7 @@ _Use-case_: generating `int` types > So while go allows int as type I think for API contracts int is too ambiguous as definition leading to subtle but hard to debug failures. > Similarly other languages may choose to default to int32 type instead of int64 type regardless of platform. -Originally from issue [#1205](https://github.com/go-swagger/go-swagger/issues/1205). +Originally from issue [#1205](https://github.com/cloudentity/go-swagger/issues/1205). ### Generate all models necessary for specified operation @@ -364,7 +364,7 @@ _Use-case_: I'm specifying specific operations and I'd like to restrict the mode > NOTE: this option is not available for `generate model`. -Originally from issue [#1427](https://github.com/go-swagger/go-swagger/issues/1427). +Originally from issue [#1427](https://github.com/cloudentity/go-swagger/issues/1427). ### Generated code changes the order of properties in struct @@ -393,7 +393,7 @@ Is there any way to keep the order of properties? **Answer:** try x-order: n extension -Originally from issue [#1759](https://github.com/go-swagger/go-swagger/issues/1759). +Originally from issue [#1759](https://github.com/cloudentity/go-swagger/issues/1759). ### Fail to use swagger generate model -name @@ -453,7 +453,7 @@ Example: **Answer:** you need to make it available with that name in the definitions section then it will know -Originally from issue [#1517](https://github.com/go-swagger/go-swagger/issues/1517). +Originally from issue [#1517](https://github.com/cloudentity/go-swagger/issues/1517). ------------- diff --git a/docs/faq/faq_server.md b/docs/faq/faq_server.md index b2958cf8b..e1f338685 100644 --- a/docs/faq/faq_server.md +++ b/docs/faq/faq_server.md @@ -23,7 +23,7 @@ This dependency used to be necessary up to release 0.14: These packages may of course be *vendored* with your own source. -Originally from issue [#1085](https://github.com/go-swagger/go-swagger/issues/1085). +Originally from issue [#1085](https://github.com/cloudentity/go-swagger/issues/1085). ### How to add custom flags? `go-swagger` ships with an option to select a flag management package: `swagger generate server --flag-strategy=[go-flags|pflag|flag]` @@ -34,7 +34,7 @@ and provide your own, or customize template generation to generate a custom main Here's an example: [kv store example](https://github.com/go-openapi/kvstore/blob/master/cmd/kvstored/main.go#L50-L57) -Originally from issue [#1036](https://github.com/go-swagger/go-swagger/issues/1036). +Originally from issue [#1036](https://github.com/cloudentity/go-swagger/issues/1036). ### How do you integrate the flag sets of go-swagger and other packages, in particular, glog? _Use-case_: logger @@ -45,7 +45,7 @@ _Use-case_: logger You can configure it with any logger that exposes the signature. -eg.: https://github.com/go-swagger/go-swagger/blob/master/examples/authentication/restapi/configure_auth_sample.go#L33 +eg.: https://github.com/cloudentity/go-swagger/blob/master/examples/authentication/restapi/configure_auth_sample.go#L33 _Use-case_: logger flags >Still having a problem with how and where to initialize glog so that both sets of flags are honored: @@ -76,7 +76,7 @@ func main() { } ``` -Originally from issue [#762](https://github.com/go-swagger/go-swagger/issues/762). +Originally from issue [#762](https://github.com/cloudentity/go-swagger/issues/762). ### How to serve two or more swagger specs from one server? _Use-case_: I want a go-swagger generated server to serve 2 swagger specs that have no overlap on paths. @@ -93,7 +93,7 @@ of both spec (with `--skip-main`). This allows for customization like using a different middleware stack, which in turn gives you the ability to serve 2 swagger specs at different paths. -Originally from issue [#1005](https://github.com/go-swagger/go-swagger/issues/1005). *(comes with a sample main.go for spec composition)*. +Originally from issue [#1005](https://github.com/cloudentity/go-swagger/issues/1005). *(comes with a sample main.go for spec composition)*. ### How to access access API struct inside operator handler? _Use-Case_: @@ -179,7 +179,7 @@ Wouldn't it be better to have all the handlers automatically be part of a defaul For instance, a new (non generated) file in the operations package could bring to life the applicative context/dependencies injection and be called from the configure_xxx. You may alternatively modify the generation by providing your own templates, and possibly extend the interface of the Server struct. -Originally from issue [#661](https://github.com/go-swagger/go-swagger/issues/661). +Originally from issue [#661](https://github.com/cloudentity/go-swagger/issues/661). ### Use go-swagger to generate different client or servers _Use-Case_: @@ -200,7 +200,7 @@ Here are some docs: http://goswagger.io/generate/templates/ >https://github.com/vmware/vic/blob/master/Makefile#L274-L281 **Hint**: you can also override templates by using the same names: -https://github.com/go-swagger/go-swagger/blob/master/generator/templates.go#L61-L73 +https://github.com/cloudentity/go-swagger/blob/master/generator/templates.go#L61-L73 *Wouldn't this generate roughly the same structure of the server?* @@ -212,7 +212,7 @@ https://github.com/go-swagger/go-swagger/blob/master/generator/templates.go#L61- Note: customizing templates already brings many options to the table, including generating artifacts in other languages than go. -There is some documentation on the config file format here: https://github.com/go-swagger/go-swagger/blob/gen-layout-configfile/docs/use/template_layout.md +There is some documentation on the config file format here: https://github.com/cloudentity/go-swagger/blob/gen-layout-configfile/docs/use/template_layout.md Also keep in mind that `go-openapi` and `go-swagger` constitute a _toolkit_ and provide you the *tools* to adapt to your own use case. @@ -296,7 +296,7 @@ This should be sufficient. However: >I decided against this because it seemed to just add complexity for little benefit. >I can be persuaded to implement such a responder though, and should somebody send a PR like that I would not say no to it. -Originally from issue [#305](https://github.com/go-swagger/go-swagger/issues/305). +Originally from issue [#305](https://github.com/cloudentity/go-swagger/issues/305). ### OAuth authentication does not redirect to the authorization server _Use-Case_: oauth2 accessCode flow does not redirect to the authorization server @@ -341,7 +341,7 @@ Swagger 2.0 only defines those properties as hints for a UI to work, this doesn't have to be server side. At the same time the redirection flow is not supported in an API but you can use an OAuth 2.0 middleware from any library to get you that functionality -Originally from issue [#1217](https://github.com/go-swagger/go-swagger/issues/1217). +Originally from issue [#1217](https://github.com/cloudentity/go-swagger/issues/1217). ### HTTPS TLS Cipher Suites not supported by AWS Elastic LoadBalancer @@ -369,16 +369,16 @@ The ELB security policy 'ELBSecurityPolicy-2016-08' does include these cipher su swagger generate server --compatibility-mode=intermediate ``` -Originally from issue [#1383](https://github.com/go-swagger/go-swagger/issues/1383). +Originally from issue [#1383](https://github.com/cloudentity/go-swagger/issues/1383). ### Which mime types are supported? _Use-Case_: I seem to be unable to find supported mime-types that the API's can consume and produce. Any references? -**Answer**: see the current list of supported media MIMEs [here](https://github.com/go-swagger/go-swagger/blob/3099f611ada66d42974160ac4e0ec475d24b7041/generator/support.go#L279) +**Answer**: see the current list of supported media MIMEs [here](https://github.com/cloudentity/go-swagger/blob/3099f611ada66d42974160ac4e0ec475d24b7041/generator/support.go#L279) You can add more through the consumer producer mechanism. -Originally from issue [#1022](https://github.com/go-swagger/go-swagger/issues/1022). +Originally from issue [#1022](https://github.com/cloudentity/go-swagger/issues/1022). ### Is it possible to return error to main function of server? @@ -394,7 +394,7 @@ There is an example here: https://github.com/go-openapi/kvstore/blob/master/cmd/ There is a command line argument to avoid overwriting the main when generating: `--exclude-main`. -Originally from issue [#1060](https://github.com/go-swagger/go-swagger/issues/1060). +Originally from issue [#1060](https://github.com/cloudentity/go-swagger/issues/1060). ------------- diff --git a/docs/faq/faq_setup.md b/docs/faq/faq_setup.md index 84c57ae99..561a9f54f 100644 --- a/docs/faq/faq_setup.md +++ b/docs/faq/faq_setup.md @@ -9,15 +9,15 @@ That being said, as of Dec. 2017, our CI engines currently run all tests on go 1 You should be able to build with go **1.6**, but we won't proceed to changes in order to maintain backward compatibility with 1.6. -Originally from issue [#636](https://github.com/go-swagger/go-swagger/issues/636). +Originally from issue [#636](https://github.com/cloudentity/go-swagger/issues/636). ------------- diff --git a/docs/faq/faq_spec.md b/docs/faq/faq_spec.md index b69c7facb..f18e4cbcf 100644 --- a/docs/faq/faq_spec.md +++ b/docs/faq/faq_spec.md @@ -6,7 +6,7 @@ _Use-Case_: I have read the swagger.json generation and feel confused. Could you **Answer**: this folder uses most of the annotations -https://github.com/go-swagger/go-swagger/tree/master/fixtures/goparsing/petstore +https://github.com/cloudentity/go-swagger/tree/master/fixtures/goparsing/petstore >This begs for 3 questions : > - Q1: Does a struct for Parameter model have to be declared in the SAME .go file where the swagger:route is declared for a router function? @@ -54,7 +54,7 @@ https://goswagger.io/generate/spec/params.html **Answer**: I don't think that is supported at the moment -Originally from issue [#213](https://github.com/go-swagger/go-swagger/issues/213). +Originally from issue [#213](https://github.com/cloudentity/go-swagger/issues/213). ### Extra function in example? In file: `go-swagger/fixtures/goparsing/classification/operations/todo_operation.go`, @@ -82,7 +82,7 @@ return nil } ``` -Originally from issue [#68](https://github.com/go-swagger/go-swagger/issues/68). +Originally from issue [#68](https://github.com/cloudentity/go-swagger/issues/68). ### Maps as swagger parameters _Use-case_: I'm using go-swagger to generate my Swagger docs from code, and I came across a problem with a given parameter. @@ -95,7 +95,7 @@ it returns `items doesn't support maps`. - In non-body parameters maps are not supported in the swagger spec - In body parameters, a JSON schema only allows maps with string keys -Originally from issue [#960](https://github.com/go-swagger/go-swagger/issues/960). +Originally from issue [#960](https://github.com/cloudentity/go-swagger/issues/960). ### How to define a swagger response that produces a binary file? @@ -120,7 +120,7 @@ type fileResponse struct { File runtime.File } ``` -Originally from issue [#1003](https://github.com/go-swagger/go-swagger/issues/1003). +Originally from issue [#1003](https://github.com/cloudentity/go-swagger/issues/1003). ### How to use swagger params? _Use-Case_: I defined a route with! @@ -133,7 +133,7 @@ _Use-Case_: I defined a route with! **Answer**: `swagger:params` is used to indicate which operations the properties of the operation are included in the struct. So you'd use something like these: -https://github.com/go-swagger/go-swagger/blob/master/fixtures/goparsing/petstore/rest/handlers/orders.go#L24-L46 +https://github.com/cloudentity/go-swagger/blob/master/fixtures/goparsing/petstore/rest/handlers/orders.go#L24-L46 or: @@ -154,7 +154,7 @@ type ListOneParams struct { } ``` -Originally from issue [#668](https://github.com/go-swagger/go-swagger/issues/668). +Originally from issue [#668](https://github.com/cloudentity/go-swagger/issues/668). ### Empty definitions _Use-Case_: I don't understand how to deal with model annotation. @@ -217,22 +217,22 @@ type User struct { } ``` -Originally from issue [#561](https://github.com/go-swagger/go-swagger/issues/561). +Originally from issue [#561](https://github.com/cloudentity/go-swagger/issues/561). ### Documentation or tutorials on code annotation _Use-Case_: documentation is scant on how to generate swagger files from annotations. Is it really all there in http://goswagger.io/generate/spec/? -**Answer**: yes, it's all in there (or directly in the repo: https://github.com/go-swagger/go-swagger/tree/master/docs/generate/spec) +**Answer**: yes, it's all in there (or directly in the repo: https://github.com/cloudentity/go-swagger/tree/master/docs/generate/spec) *How about some code examples that show annotations being used?* **Answer**: there is an "examples" folder in the repo. All generated code also uses all the annotations that are applicable for it. -https://github.com/go-swagger/go-swagger/tree/master/examples/todo-list +https://github.com/cloudentity/go-swagger/tree/master/examples/todo-list -And also: https://github.com/go-swagger/go-swagger/tree/master/fixtures/goparsing/classification +And also: https://github.com/cloudentity/go-swagger/tree/master/fixtures/goparsing/classification (this is the code used to test parsing the annotations). Please bear in mind that this is a project (not a product) to which a number of volunteers have @@ -241,7 +241,7 @@ contributed significant amounts of free time to get it to where it is today. Improvement of documentation is always a good request. All help we can get is absolutely welcome. -Originally from issue [#599](https://github.com/go-swagger/go-swagger/issues/599). +Originally from issue [#599](https://github.com/cloudentity/go-swagger/issues/599). ### Wrong schema in response structure? I set up this response struct: @@ -306,7 +306,7 @@ type ResponseData struct { } ``` -Originally from issue [#407](https://github.com/go-swagger/go-swagger/issues/407). +Originally from issue [#407](https://github.com/cloudentity/go-swagger/issues/407). ### go-swagger not generating model info and showing error on swagger UI @@ -460,7 +460,7 @@ Wow! You're right man! All that was needed to make generate spec work, was to ad The appengine includes are in there. It's working now, thanks for the insight! -Originally from issue [#47](https://github.com/go-swagger/go-swagger/issues/47). +Originally from issue [#47](https://github.com/cloudentity/go-swagger/issues/47). --> ------------------- diff --git a/docs/faq/faq_swagger.md b/docs/faq/faq_swagger.md index 5f1ed7b97..679b5658a 100644 --- a/docs/faq/faq_swagger.md +++ b/docs/faq/faq_swagger.md @@ -60,7 +60,7 @@ But I think the error message should not show even I just use `swagger generate > Thus it must pass validation of the object schema. > As per swagger, defaults MUST validate their schema. This differs from json-Schema spec. -Originally from issue [#1552](https://github.com/go-swagger/go-swagger/issues/1552). +Originally from issue [#1552](https://github.com/cloudentity/go-swagger/issues/1552). _Use-Case_: `go-swagger` rejects default object that misses required properties. @@ -118,7 +118,7 @@ paths: For some use cases, we have to, since `go-swagger` supports constructs that are not stricly swagger-compliant. This one is an example: some override silently take place here at generation time. -Originally from issue [#1501](https://github.com/go-swagger/go-swagger/issues/1501). +Originally from issue [#1501](https://github.com/cloudentity/go-swagger/issues/1501). ### type string, format int64 not respected in generator _Use-Case_: when generating parameters or models from a swagger file with a definition that specifies type: string and format: int64, @@ -152,7 +152,7 @@ format: int64 ``` -Originally from issue [#1381](https://github.com/go-swagger/go-swagger/issues/1381). +Originally from issue [#1381](https://github.com/cloudentity/go-swagger/issues/1381). ### Duplicate operationId error _Use-Case_: my spec indicates duplicate operationIds but for separate endpoints. @@ -221,7 +221,7 @@ https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operati > Tools and libraries MAY use the operationId to uniquely identify an operation, > therefore, it is recommended to follow common programming naming conventions. -Originally from issue [#1143](https://github.com/go-swagger/go-swagger/issues/1143). +Originally from issue [#1143](https://github.com/cloudentity/go-swagger/issues/1143). ------------------- diff --git a/docs/faq/faq_testing.md b/docs/faq/faq_testing.md index a7472d75b..1aab67e2e 100644 --- a/docs/faq/faq_testing.md +++ b/docs/faq/faq_testing.md @@ -13,7 +13,7 @@ At the moment, the toolkit does not generate testing tools. You may be intereste We acknowledge that API testing is an important use-case. However, it is not yet supported. Pull requests to move on forward in that direction are welcome. -Originally from issue [#787](https://github.com/go-swagger/go-swagger/issues/787). +Originally from issue [#787](https://github.com/cloudentity/go-swagger/issues/787). ### Using httptest _Use-Case_: I would like to use httptest for testing my handlers. @@ -105,7 +105,7 @@ todos.AddOneHandlerFunc(func(params todos.AddOneParams) middleware.Responder { ``` To test this second function we don't need to use the httptest package, you can assume that that part of the code works. So all you have to test is whether or not you get the right return types for a given set of parameters. -Originally from issue [#719](https://github.com/go-swagger/go-swagger/issues/719). +Originally from issue [#719](https://github.com/cloudentity/go-swagger/issues/719). ------------------- diff --git a/docs/generate/cli.md b/docs/generate/cli.md index 0b8bfc941..813bb9cc3 100644 --- a/docs/generate/cli.md +++ b/docs/generate/cli.md @@ -72,7 +72,7 @@ Help Options: ``` ### Build a CLI -There is an example cli and tutorial provided at: https://github.com/go-swagger/go-swagger/tree/master/examples/cli +There is an example cli and tutorial provided at: https://github.com/cloudentity/go-swagger/tree/master/examples/cli To generate a CLI: ``` diff --git a/docs/generate/client.md b/docs/generate/client.md index 72cdbab5f..4fb04ab71 100644 --- a/docs/generate/client.md +++ b/docs/generate/client.md @@ -58,7 +58,7 @@ Help Options: ### Build a client -There is an example client provided at: https://github.com/go-swagger/go-swagger/tree/master/examples/todo-list/client +There is an example client provided at: https://github.com/cloudentity/go-swagger/tree/master/examples/todo-list/client To generate a client: diff --git a/docs/guidelines/README.md b/docs/guidelines/README.md index 2820b32d7..217a46b30 100644 --- a/docs/guidelines/README.md +++ b/docs/guidelines/README.md @@ -10,14 +10,14 @@ Cloning `go-swagger`: ```bash mkdir -p $GOPATH/src/github.com/go-swagger cd $GOPATH/src/github.com/go-swagger -git clone https://github.com/go-swagger/go-swagger +git clone https://github.com/cloudentity/go-swagger ``` All dependencies are available in the checked out `vendor` directory. Building and installing go-swagger from source on your system: ``` -go install github.com/go-swagger/go-swagger/cmd/swagger +go install github.com/cloudentity/go-swagger/cmd/swagger ``` Running standard unit tests: diff --git a/docs/install.md b/docs/install.md index 373029ff9..b00ecca31 100644 --- a/docs/install.md +++ b/docs/install.md @@ -5,7 +5,7 @@ installation, see [the prerequisites](https://goswagger.io/generate/requirements ## Installing from binary distributions -go-swagger releases are distributed as binaries that are built from signed tags. It is published [as github release](https://github.com/go-swagger/go-swagger/tags), +go-swagger releases are distributed as binaries that are built from signed tags. It is published [as github release](https://github.com/cloudentity/go-swagger/tags), rpm, deb and docker image. ### Docker image [![Docker Repository on Quay](https://quay.io/repository/goswagger/swagger/status "Docker Repository on Quay")](https://quay.io/repository/goswagger/swagger) @@ -74,7 +74,7 @@ brew install go-swagger ### Static binary You can download a binary for your platform from github: - + ``` download_url=$(curl -s https://api.github.com/repos/go-swagger/go-swagger/releases/latest | \ @@ -128,7 +128,7 @@ Install or update from current source master: ``` dir=$(mktemp -d) -git clone https://github.com/go-swagger/go-swagger "$dir" +git clone https://github.com/cloudentity/go-swagger "$dir" cd "$dir" go install ./cmd/swagger ``` @@ -137,15 +137,15 @@ To install a specific version from source an appropriate tag needs to be checked ``` dir=$(mktemp -d) -git clone https://github.com/go-swagger/go-swagger "$dir" +git clone https://github.com/cloudentity/go-swagger "$dir" cd "$dir" git checkout v0.25.0 -go install -ldflags "-X github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=$(git describe --tags) -X github.com/go-swagger/go-swagger/cmd/swagger/commands.Commit=$(git rev-parse HEAD)" ./cmd/swagger +go install -ldflags "-X github.com/cloudentity/go-swagger/cmd/swagger/commands.Version=$(git describe --tags) -X github.com/cloudentity/go-swagger/cmd/swagger/commands.Commit=$(git rev-parse HEAD)" ./cmd/swagger ``` You are welcome to clone this repo and start contributing: ``` -git clone https://github.com/go-swagger/go-swagger +git clone https://github.com/cloudentity/go-swagger ``` > **NOTE**: go-swagger works on *nix as well as Windows OS diff --git a/docs/tutorial/authentication/README.md b/docs/tutorial/authentication/README.md index f7f421d50..fa0164031 100644 --- a/docs/tutorial/authentication/README.md +++ b/docs/tutorial/authentication/README.md @@ -110,4 +110,4 @@ Content-Length: 47 {"code":401,"message":"incorrect api key auth"} ``` -[example_code]: https://github.com/go-swagger/go-swagger/tree/master/examples/authentication +[example_code]: https://github.com/cloudentity/go-swagger/tree/master/examples/authentication diff --git a/docs/tutorial/composed-auth/README.md b/docs/tutorial/composed-auth/README.md index 8486f3980..b339431cf 100644 --- a/docs/tutorial/composed-auth/README.md +++ b/docs/tutorial/composed-auth/README.md @@ -365,4 +365,4 @@ Content-Length: 51 "operation .AddOrder has not yet been implemented" ``` -[example_code]: https://github.com/go-swagger/go-swagger/blob/master/examples/composed-auth/ +[example_code]: https://github.com/cloudentity/go-swagger/blob/master/examples/composed-auth/ diff --git a/docs/tutorial/custom-server.md b/docs/tutorial/custom-server.md index 8e1e5a522..78846f2aa 100644 --- a/docs/tutorial/custom-server.md +++ b/docs/tutorial/custom-server.md @@ -311,4 +311,4 @@ same techniques as described in this tutorial. [kvstore example]: https://github.com/go-openapi/kvstore [KISS]: https://en.wikipedia.org/wiki/KISS_principle [go-openapi/swag]: https://github.com/go-openapi/swag -[go-swagger]: https://github.com/go-swagger/go-swagger +[go-swagger]: https://github.com/cloudentity/go-swagger diff --git a/docs/tutorial/dynamic.md b/docs/tutorial/dynamic.md index 009a747c5..fff5db148 100644 --- a/docs/tutorial/dynamic.md +++ b/docs/tutorial/dynamic.md @@ -39,7 +39,7 @@ func main() { } ``` -[see source of this code](https://github.com/go-swagger/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-1/main.go) +[see source of this code](https://github.com/cloudentity/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-1/main.go) Running this would confirm that we can in fact read a swagger spec from disk. The init method enables loading of yaml based specifications. The yaml package for golang used to be licensed as GPL so we made depending on it optional. @@ -83,7 +83,7 @@ func main() { } ``` -[see source of this code](https://github.com/go-swagger/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-setup-invalid/main.go) +[see source of this code](https://github.com/cloudentity/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-setup-invalid/main.go) This code shows how to create an api descriptor and then invoking its verification. Because our specification contains operations and consumes/produces definitions this program should not run. @@ -251,7 +251,7 @@ func itemByID(id int64) (map[string]interface{}, error) { } ``` -[see source of this code](https://github.com/go-swagger/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-untyped/main.go) +[see source of this code](https://github.com/cloudentity/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-untyped/main.go) The backend code builds a todo-list-item store that's save for concurrent access buy guarding every operation with a lock. This is all in memory so as soon as you quit the process all your changes will be reset. @@ -338,7 +338,7 @@ var destroyOne = runtime.OperationHandlerFunc(func(params interface{}) (interfac }) ``` -[see source of this code](https://github.com/go-swagger/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-untyped/main.go) +[see source of this code](https://github.com/cloudentity/go-swagger/blob/master/examples/tutorials/todo-list/dynamic-untyped/main.go) With this set up we should be able to start a server, send it some requests and get some meaningful answers. diff --git a/docs/tutorial/oauth2/README.md b/docs/tutorial/oauth2/README.md index c7fbf8d88..d2bdc3682 100644 --- a/docs/tutorial/oauth2/README.md +++ b/docs/tutorial/oauth2/README.md @@ -296,7 +296,7 @@ Make sure that the callback URL is the same as set in the above code (``./restap http://127.0.0.1:12345/api/auth/callback ``` -![Google api screenshot](https://github.com/go-swagger/go-swagger/blob/master/examples/oauth2/img/google-api.png) +![Google api screenshot](https://github.com/cloudentity/go-swagger/blob/master/examples/oauth2/img/google-api.png) >**NOTE:** you may specify a client ID for your API during the registration process. >A password (the API client's secret) is then delivered. @@ -357,4 +357,4 @@ Content-Length: 47 ``` [google_credential]: https://console.cloud.google.com/apis/credentials/ -[example_code]: https://github.com/go-swagger/go-swagger/blob/master/examples/oauth2/ +[example_code]: https://github.com/cloudentity/go-swagger/blob/master/examples/oauth2/ diff --git a/docs/tutorial/todo-list.md b/docs/tutorial/todo-list.md index e2e2941b2..1cedc63f8 100644 --- a/docs/tutorial/todo-list.md +++ b/docs/tutorial/todo-list.md @@ -40,7 +40,7 @@ swagger: "2.0" This doesn't do much but it does pass validation: ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list git:(master) ✗ ? » swagger validate ./swagger.yml The swagger spec at "./swagger.yml" is valid against swagger specification 2.0 ``` @@ -246,7 +246,7 @@ definitions: When you generate a server for this spec you'll see the following output: ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1 +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1 git:(master) ✗ !? » swagger generate server -A todo-list -f ./swagger.yml 2018/01/06 11:49:16 building a plan for generation 2018/01/06 11:49:16 planning definitions @@ -322,7 +322,7 @@ For this generation to compile you need to have some packages in your GOPATH: * github.com/go-openapi/runtime * github.com/jessevdk/go-flags -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1 +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1 git:(master) ✗ !? » tree . ├── cmd @@ -679,7 +679,7 @@ definitions: This is a good time to sanity check and by validating the schema: ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2 +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2 git:(master) ✗ !? » swagger validate ./swagger.yml The swagger spec at "./swagger.yml" is valid against swagger specification 2.0 ``` @@ -690,7 +690,7 @@ Now you're ready to generate the API and start filling in the actual operations: git:(master) ✗ !? » swagger generate server -A TodoList -f ./swagger.yml ... elided output ... 2015/12/31 18:16:28 rendered main template: server.TodoList -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2 +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2 git:(master) ✗ !? » tree . ├── cmd @@ -768,7 +768,7 @@ Content-Length: 3 [] ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete ``` ```http » curl -i localhost:8765 -d "{\"description\":\"message $RANDOM\"}" @@ -791,7 +791,7 @@ Content-Length: 39 {"description":"message 30925","id":1} ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765 -d "{\"description\":\"message $RANDOM\"}" -H 'Content-Type: application/io.goswagger.examples.todo-list.v1+json' ``` ```http @@ -803,7 +803,7 @@ Content-Length: 37 {"description":"message 104","id":2} ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765 -d "{\"description\":\"message $RANDOM\"}" -H 'Content-Type: application/io.goswagger.examples.todo-list.v1+json' ``` ```http @@ -815,7 +815,7 @@ Content-Length: 39 {"description":"message 15225","id":3} ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765 ``` ```http @@ -827,7 +827,7 @@ Content-Length: 117 [{"description":"message 30925","id":1},{"description":"message 104","id":2},{"description":"message 15225","id":3}] ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765/3 -X PUT -H 'Content-Type: application/io.goswagger.examples.todo-list.v1+json' -d '{"description":"go shopping"}' ``` ```http @@ -839,7 +839,7 @@ Content-Length: 37 {"description":"go shopping","id":3} ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765 ``` ```http @@ -851,7 +851,7 @@ Content-Length: 115 [{"description":"message 30925","id":1},{"description":"message 104","id":2},{"description":"go shopping","id":3}] ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765/1 -X DELETE -H 'Content-Type: application/io.goswagger.examples.todo-list.v1+json' ``` ```http @@ -860,7 +860,7 @@ Content-Type: application/io.goswagger.examples.todo-list.v1+json Date: Fri, 01 Jan 2016 19:57:04 GMT ``` ``` -± ~/go/src/github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete +± ~/go/src/github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete » curl -i localhost:8765 ``` ```http diff --git a/docs/use/models/schemas.md b/docs/use/models/schemas.md index 924b470d1..66240d97e 100644 --- a/docs/use/models/schemas.md +++ b/docs/use/models/schemas.md @@ -691,7 +691,7 @@ func (m *Kennel) SetPets(val []Pet) { > **NOTE**: this representation with unexported fields for references to base types might be subject to change in > the future, as it is not consistent in all cases. If you are intested to participate this design work, -> feel free to comment and express your views [here](https://github.com/go-swagger/go-swagger/issues/232). +> feel free to comment and express your views [here](https://github.com/cloudentity/go-swagger/issues/232). #### Factories for base types @@ -1057,7 +1057,7 @@ definitions: x-go-type: type: Hotspot import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external hints: kind: object x-nullable: true @@ -1333,9 +1333,9 @@ type ObjectWithDescription struct { [Validatable]: https://github.com/go-openapi/runtime/blob/master/interfaces.go#L101 [validate]: https://github.com/go-openapi/validate [validate-json]: https://godoc.org/github.com/go-openapi/validate#ex-AgainstSchema -[go-doc-model]: https://godoc.org/github.com/go-swagger/go-swagger/examples/generated/models +[go-doc-model]: https://godoc.org/github.com/cloudentity/go-swagger/examples/generated/models [read-only]: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#fixed-fields-13 [all-formats]: https://github.com/go-openapi/strfmt/blob/master/README.md [easy-json]: https://github.com/mailru/easyjson [json-schema]: https://tools.ietf.org/html/draft-fge-json-schema-validation-00 -[lifting-pointers]: https://github.com/go-swagger/go-swagger/pull/557 +[lifting-pointers]: https://github.com/cloudentity/go-swagger/pull/557 diff --git a/docs/use/spec/meta.md b/docs/use/spec/meta.md index faae176fd..a5f2dfa40 100644 --- a/docs/use/spec/meta.md +++ b/docs/use/spec/meta.md @@ -141,4 +141,4 @@ bin | bin urlform | urlform multipartform | multipartform -[Source](https://github.com/go-swagger/go-swagger/blob/7485a982b539bedd870bd56a487e37c8decd7f2c/generator/support.go#L317-L335) +[Source](https://github.com/cloudentity/go-swagger/blob/7485a982b539bedd870bd56a487e37c8decd7f2c/generator/support.go#L317-L335) diff --git a/docs/use/template_layout.md b/docs/use/template_layout.md index b681584e7..7a1db6725 100644 --- a/docs/use/template_layout.md +++ b/docs/use/template_layout.md @@ -3,10 +3,10 @@ To completely customize the templates that are being considered, their file names and paths, go-swagger allows you to pass in a configuration file. There are basically 4 types of items that are being generated: - * [Models](https://godoc.org/github.com/go-swagger/go-swagger/generator#GenDefinition) - * [Operations](https://godoc.org/github.com/go-swagger/go-swagger/generator#GenOperation) - * [Operation groups](https://godoc.org/github.com/go-swagger/go-swagger/generator#GenOperationGroup) (tagged groups of operations) - * [Application](https://godoc.org/github.com/go-swagger/go-swagger/generator#GenApp) + * [Models](https://godoc.org/github.com/cloudentity/go-swagger/generator#GenDefinition) + * [Operations](https://godoc.org/github.com/cloudentity/go-swagger/generator#GenOperation) + * [Operation groups](https://godoc.org/github.com/cloudentity/go-swagger/generator#GenOperationGroup) (tagged groups of operations) + * [Application](https://godoc.org/github.com/cloudentity/go-swagger/generator#GenApp) You provide a configuration that describes the type of template, the source for where to find the template. For built-in templates the name should be prefixed with `asset:`. You also provide the target directory and the file name. Directory and file names are processed as templates too and allow for a number of filters. diff --git a/examples/2.0/petstore/server/petstore.go b/examples/2.0/petstore/server/petstore.go index 2cee44d9a..6aad46a4b 100644 --- a/examples/2.0/petstore/server/petstore.go +++ b/examples/2.0/petstore/server/petstore.go @@ -18,7 +18,7 @@ import ( "log" "net/http" - "github.com/go-swagger/go-swagger/examples/2.0/petstore/server/api" + "github.com/cloudentity/go-swagger/examples/2.0/petstore/server/api" ) func main() { diff --git a/examples/authentication/client/auth_sample_client.go b/examples/authentication/client/auth_sample_client.go index 14e6addf6..6e70b28c6 100644 --- a/examples/authentication/client/auth_sample_client.go +++ b/examples/authentication/client/auth_sample_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/authentication/client/customers" + "github.com/cloudentity/go-swagger/examples/authentication/client/customers" ) // Default auth sample HTTP client. diff --git a/examples/authentication/client/customers/create_parameters.go b/examples/authentication/client/customers/create_parameters.go index 80c0bb3a8..1d732ad6e 100644 --- a/examples/authentication/client/customers/create_parameters.go +++ b/examples/authentication/client/customers/create_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // NewCreateParams creates a new CreateParams object, diff --git a/examples/authentication/client/customers/create_responses.go b/examples/authentication/client/customers/create_responses.go index 3c5d4f897..0166f54a9 100644 --- a/examples/authentication/client/customers/create_responses.go +++ b/examples/authentication/client/customers/create_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // CreateReader is a Reader for the Create structure. diff --git a/examples/authentication/client/customers/get_id_parameters.go b/examples/authentication/client/customers/get_id_parameters.go index b60bb00b0..320e2b37c 100644 --- a/examples/authentication/client/customers/get_id_parameters.go +++ b/examples/authentication/client/customers/get_id_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // NewGetIDParams creates a new GetIDParams object, diff --git a/examples/authentication/client/customers/get_id_responses.go b/examples/authentication/client/customers/get_id_responses.go index e00cdf55e..97abebb01 100644 --- a/examples/authentication/client/customers/get_id_responses.go +++ b/examples/authentication/client/customers/get_id_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // GetIDReader is a Reader for the GetID structure. diff --git a/examples/authentication/cmd/auth-sample-server/main.go b/examples/authentication/cmd/auth-sample-server/main.go index 953d02cfe..c16901eff 100644 --- a/examples/authentication/cmd/auth-sample-server/main.go +++ b/examples/authentication/cmd/auth-sample-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/authentication/restapi" - "github.com/go-swagger/go-swagger/examples/authentication/restapi/operations" + "github.com/cloudentity/go-swagger/examples/authentication/restapi" + "github.com/cloudentity/go-swagger/examples/authentication/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/authentication/restapi/configure_auth_sample.go b/examples/authentication/restapi/configure_auth_sample.go index 0186ccde0..e06a98e9a 100644 --- a/examples/authentication/restapi/configure_auth_sample.go +++ b/examples/authentication/restapi/configure_auth_sample.go @@ -10,9 +10,9 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/authentication/models" - "github.com/go-swagger/go-swagger/examples/authentication/restapi/operations" - "github.com/go-swagger/go-swagger/examples/authentication/restapi/operations/customers" + "github.com/cloudentity/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/restapi/operations" + "github.com/cloudentity/go-swagger/examples/authentication/restapi/operations/customers" ) //go:generate swagger generate server --target ../../authentication --name AuthSample --spec ../swagger.yml --principal models.Principal diff --git a/examples/authentication/restapi/operations/auth_sample_api.go b/examples/authentication/restapi/operations/auth_sample_api.go index 26c462e6d..655ef4aad 100644 --- a/examples/authentication/restapi/operations/auth_sample_api.go +++ b/examples/authentication/restapi/operations/auth_sample_api.go @@ -19,8 +19,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/authentication/models" - "github.com/go-swagger/go-swagger/examples/authentication/restapi/operations/customers" + "github.com/cloudentity/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/restapi/operations/customers" ) // NewAuthSampleAPI creates a new AuthSample instance diff --git a/examples/authentication/restapi/operations/customers/create.go b/examples/authentication/restapi/operations/customers/create.go index f881e78dc..f90c6984a 100644 --- a/examples/authentication/restapi/operations/customers/create.go +++ b/examples/authentication/restapi/operations/customers/create.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // CreateHandlerFunc turns a function with the right signature into a create handler diff --git a/examples/authentication/restapi/operations/customers/create_parameters.go b/examples/authentication/restapi/operations/customers/create_parameters.go index a63216deb..9ef250fb5 100644 --- a/examples/authentication/restapi/operations/customers/create_parameters.go +++ b/examples/authentication/restapi/operations/customers/create_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // NewCreateParams creates a new CreateParams object diff --git a/examples/authentication/restapi/operations/customers/create_responses.go b/examples/authentication/restapi/operations/customers/create_responses.go index f08d7fe6b..9b1171a82 100644 --- a/examples/authentication/restapi/operations/customers/create_responses.go +++ b/examples/authentication/restapi/operations/customers/create_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // CreateCreatedCode is the HTTP code returned for type CreateCreated diff --git a/examples/authentication/restapi/operations/customers/get_id.go b/examples/authentication/restapi/operations/customers/get_id.go index 086dec2af..722146ed2 100644 --- a/examples/authentication/restapi/operations/customers/get_id.go +++ b/examples/authentication/restapi/operations/customers/get_id.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // GetIDHandlerFunc turns a function with the right signature into a get Id handler diff --git a/examples/authentication/restapi/operations/customers/get_id_parameters.go b/examples/authentication/restapi/operations/customers/get_id_parameters.go index 7f71ad525..194561ecd 100644 --- a/examples/authentication/restapi/operations/customers/get_id_parameters.go +++ b/examples/authentication/restapi/operations/customers/get_id_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // NewGetIDParams creates a new GetIDParams object diff --git a/examples/authentication/restapi/operations/customers/get_id_responses.go b/examples/authentication/restapi/operations/customers/get_id_responses.go index 23829e055..cd3cadc8a 100644 --- a/examples/authentication/restapi/operations/customers/get_id_responses.go +++ b/examples/authentication/restapi/operations/customers/get_id_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/authentication/models" + "github.com/cloudentity/go-swagger/examples/authentication/models" ) // GetIDOKCode is the HTTP code returned for type GetIDOK diff --git a/examples/authentication/restapi/server.go b/examples/authentication/restapi/server.go index e7c9fe12d..0bdeaad63 100644 --- a/examples/authentication/restapi/server.go +++ b/examples/authentication/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/authentication/restapi/operations" + "github.com/cloudentity/go-swagger/examples/authentication/restapi/operations" ) const ( diff --git a/examples/auto-configure/cmd/a-to-do-list-application-server/main.go b/examples/auto-configure/cmd/a-to-do-list-application-server/main.go index 1881e8d00..cada82cd5 100644 --- a/examples/auto-configure/cmd/a-to-do-list-application-server/main.go +++ b/examples/auto-configure/cmd/a-to-do-list-application-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/auto-configure/implementation/configure_impl.go b/examples/auto-configure/implementation/configure_impl.go index 32ebbd736..d7c3b55ed 100644 --- a/examples/auto-configure/implementation/configure_impl.go +++ b/examples/auto-configure/implementation/configure_impl.go @@ -6,7 +6,7 @@ import ( "net/http" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations" ) type ConfigureImpl struct { diff --git a/examples/auto-configure/implementation/handler.go b/examples/auto-configure/implementation/handler.go index 380c38254..570114052 100644 --- a/examples/auto-configure/implementation/handler.go +++ b/examples/auto-configure/implementation/handler.go @@ -3,7 +3,7 @@ package implementation import ( "sync" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // HandlerImpl implements all required configuration and api handling diff --git a/examples/auto-configure/implementation/todos_impl.go b/examples/auto-configure/implementation/todos_impl.go index f0464dea2..567a4b643 100644 --- a/examples/auto-configure/implementation/todos_impl.go +++ b/examples/auto-configure/implementation/todos_impl.go @@ -7,8 +7,8 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations/todos" ) type TodosHandlerImpl struct { diff --git a/examples/auto-configure/restapi/auto_configure_a_to_do_list_application.go b/examples/auto-configure/restapi/auto_configure_a_to_do_list_application.go index 0c415c6b9..d367d21d7 100644 --- a/examples/auto-configure/restapi/auto_configure_a_to_do_list_application.go +++ b/examples/auto-configure/restapi/auto_configure_a_to_do_list_application.go @@ -11,12 +11,12 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/auto-configure/implementation" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/auto-configure/implementation" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations/todos" ) -//go:generate swagger generate server --target ../../auto-configure --name AToDoListApplication --spec ../swagger.yml --implementation-package github.com/go-swagger/go-swagger/examples/auto-configure/implementation --principal interface{} +//go:generate swagger generate server --target ../../auto-configure --name AToDoListApplication --spec ../swagger.yml --implementation-package github.com/cloudentity/go-swagger/examples/auto-configure/implementation --principal interface{} // This file auto configures the api backend implementation. // implementation package must already exist. diff --git a/examples/auto-configure/restapi/operations/a_to_do_list_application_api.go b/examples/auto-configure/restapi/operations/a_to_do_list_application_api.go index 3578ac1d0..571e1ebd8 100644 --- a/examples/auto-configure/restapi/operations/a_to_do_list_application_api.go +++ b/examples/auto-configure/restapi/operations/a_to_do_list_application_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations/todos" ) // NewAToDoListApplicationAPI creates a new AToDoListApplication instance diff --git a/examples/auto-configure/restapi/operations/todos/add_one_parameters.go b/examples/auto-configure/restapi/operations/todos/add_one_parameters.go index 804d903e9..8ea0ca573 100644 --- a/examples/auto-configure/restapi/operations/todos/add_one_parameters.go +++ b/examples/auto-configure/restapi/operations/todos/add_one_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/auto-configure/restapi/operations/todos/add_one_responses.go b/examples/auto-configure/restapi/operations/todos/add_one_responses.go index 40bbf7ad7..6033dd21a 100644 --- a/examples/auto-configure/restapi/operations/todos/add_one_responses.go +++ b/examples/auto-configure/restapi/operations/todos/add_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // AddOneCreatedCode is the HTTP code returned for type AddOneCreated diff --git a/examples/auto-configure/restapi/operations/todos/destroy_one_responses.go b/examples/auto-configure/restapi/operations/todos/destroy_one_responses.go index 5d70569de..2b66482c3 100644 --- a/examples/auto-configure/restapi/operations/todos/destroy_one_responses.go +++ b/examples/auto-configure/restapi/operations/todos/destroy_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent diff --git a/examples/auto-configure/restapi/operations/todos/find_todos_responses.go b/examples/auto-configure/restapi/operations/todos/find_todos_responses.go index 8aeee0568..d921e9a43 100644 --- a/examples/auto-configure/restapi/operations/todos/find_todos_responses.go +++ b/examples/auto-configure/restapi/operations/todos/find_todos_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // FindTodosOKCode is the HTTP code returned for type FindTodosOK diff --git a/examples/auto-configure/restapi/operations/todos/update_one_parameters.go b/examples/auto-configure/restapi/operations/todos/update_one_parameters.go index b1991abcf..e19d0c24d 100644 --- a/examples/auto-configure/restapi/operations/todos/update_one_parameters.go +++ b/examples/auto-configure/restapi/operations/todos/update_one_parameters.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/auto-configure/restapi/operations/todos/update_one_responses.go b/examples/auto-configure/restapi/operations/todos/update_one_responses.go index 3fe17e3d0..ee5a77781 100644 --- a/examples/auto-configure/restapi/operations/todos/update_one_responses.go +++ b/examples/auto-configure/restapi/operations/todos/update_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/auto-configure/models" + "github.com/cloudentity/go-swagger/examples/auto-configure/models" ) // UpdateOneOKCode is the HTTP code returned for type UpdateOneOK diff --git a/examples/auto-configure/restapi/server.go b/examples/auto-configure/restapi/server.go index 144cf8efd..740ce84a4 100644 --- a/examples/auto-configure/restapi/server.go +++ b/examples/auto-configure/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/auto-configure/restapi/operations" + "github.com/cloudentity/go-swagger/examples/auto-configure/restapi/operations" ) const ( diff --git a/examples/cli/cli/add_one_operation.go b/examples/cli/cli/add_one_operation.go index a99c273ad..17d31cf7f 100644 --- a/examples/cli/cli/add_one_operation.go +++ b/examples/cli/cli/add_one_operation.go @@ -9,8 +9,8 @@ import ( "encoding/json" "fmt" - "github.com/go-swagger/go-swagger/examples/cli/client/todos" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/client/todos" + "github.com/cloudentity/go-swagger/examples/cli/models" "github.com/go-openapi/swag" "github.com/spf13/cobra" diff --git a/examples/cli/cli/cli.go b/examples/cli/cli/cli.go index d4bcb8add..862c35f9e 100644 --- a/examples/cli/cli/cli.go +++ b/examples/cli/cli/cli.go @@ -12,7 +12,7 @@ import ( "path" "path/filepath" - "github.com/go-swagger/go-swagger/examples/cli/client" + "github.com/cloudentity/go-swagger/examples/cli/client" "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" diff --git a/examples/cli/cli/destroy_one_operation.go b/examples/cli/cli/destroy_one_operation.go index 6cec113e2..6f0633655 100644 --- a/examples/cli/cli/destroy_one_operation.go +++ b/examples/cli/cli/destroy_one_operation.go @@ -9,7 +9,7 @@ import ( "encoding/json" "fmt" - "github.com/go-swagger/go-swagger/examples/cli/client/todos" + "github.com/cloudentity/go-swagger/examples/cli/client/todos" "github.com/go-openapi/swag" "github.com/spf13/cobra" diff --git a/examples/cli/cli/error_model.go b/examples/cli/cli/error_model.go index 4c9d15d09..6e87aed88 100644 --- a/examples/cli/cli/error_model.go +++ b/examples/cli/cli/error_model.go @@ -8,7 +8,7 @@ package cli import ( "fmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" "github.com/spf13/cobra" ) diff --git a/examples/cli/cli/find_todos_operation.go b/examples/cli/cli/find_todos_operation.go index 3e0fee8be..f5bfc81a9 100644 --- a/examples/cli/cli/find_todos_operation.go +++ b/examples/cli/cli/find_todos_operation.go @@ -9,7 +9,7 @@ import ( "encoding/json" "fmt" - "github.com/go-swagger/go-swagger/examples/cli/client/todos" + "github.com/cloudentity/go-swagger/examples/cli/client/todos" "github.com/go-openapi/swag" "github.com/spf13/cobra" diff --git a/examples/cli/cli/item_model.go b/examples/cli/cli/item_model.go index 7fa732a91..2442b0d66 100644 --- a/examples/cli/cli/item_model.go +++ b/examples/cli/cli/item_model.go @@ -8,7 +8,7 @@ package cli import ( "fmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" "github.com/spf13/cobra" ) diff --git a/examples/cli/cli/update_one_operation.go b/examples/cli/cli/update_one_operation.go index 7d4dfd5e9..049c8dbe9 100644 --- a/examples/cli/cli/update_one_operation.go +++ b/examples/cli/cli/update_one_operation.go @@ -9,8 +9,8 @@ import ( "encoding/json" "fmt" - "github.com/go-swagger/go-swagger/examples/cli/client/todos" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/client/todos" + "github.com/cloudentity/go-swagger/examples/cli/models" "github.com/go-openapi/swag" "github.com/spf13/cobra" diff --git a/examples/cli/client/a_to_do_list_application_client.go b/examples/cli/client/a_to_do_list_application_client.go index f88808d80..ce3af1fa4 100644 --- a/examples/cli/client/a_to_do_list_application_client.go +++ b/examples/cli/client/a_to_do_list_application_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/client/todos" + "github.com/cloudentity/go-swagger/examples/cli/client/todos" ) // Default a to do list application HTTP client. diff --git a/examples/cli/client/todos/add_one_parameters.go b/examples/cli/client/todos/add_one_parameters.go index 3de1e0299..90432844c 100644 --- a/examples/cli/client/todos/add_one_parameters.go +++ b/examples/cli/client/todos/add_one_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // NewAddOneParams creates a new AddOneParams object, diff --git a/examples/cli/client/todos/add_one_responses.go b/examples/cli/client/todos/add_one_responses.go index af556521e..d2749f796 100644 --- a/examples/cli/client/todos/add_one_responses.go +++ b/examples/cli/client/todos/add_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // AddOneReader is a Reader for the AddOne structure. diff --git a/examples/cli/client/todos/destroy_one_responses.go b/examples/cli/client/todos/destroy_one_responses.go index c5a7b1ef3..1257a7ae6 100644 --- a/examples/cli/client/todos/destroy_one_responses.go +++ b/examples/cli/client/todos/destroy_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // DestroyOneReader is a Reader for the DestroyOne structure. diff --git a/examples/cli/client/todos/find_todos_responses.go b/examples/cli/client/todos/find_todos_responses.go index 694f0b169..a8104acaa 100644 --- a/examples/cli/client/todos/find_todos_responses.go +++ b/examples/cli/client/todos/find_todos_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // FindTodosReader is a Reader for the FindTodos structure. diff --git a/examples/cli/client/todos/update_one_parameters.go b/examples/cli/client/todos/update_one_parameters.go index db16bbfb3..087b4c77e 100644 --- a/examples/cli/client/todos/update_one_parameters.go +++ b/examples/cli/client/todos/update_one_parameters.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // NewUpdateOneParams creates a new UpdateOneParams object, diff --git a/examples/cli/client/todos/update_one_responses.go b/examples/cli/client/todos/update_one_responses.go index 2c6d43193..5a09cac91 100644 --- a/examples/cli/client/todos/update_one_responses.go +++ b/examples/cli/client/todos/update_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/cli/models" + "github.com/cloudentity/go-swagger/examples/cli/models" ) // UpdateOneReader is a Reader for the UpdateOne structure. diff --git a/examples/cli/cmd/todoctl/main.go b/examples/cli/cmd/todoctl/main.go index e8fc1d921..cdeec12be 100644 --- a/examples/cli/cmd/todoctl/main.go +++ b/examples/cli/cmd/todoctl/main.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - "github.com/go-swagger/go-swagger/examples/cli/cli" + "github.com/cloudentity/go-swagger/examples/cli/cli" ) // This file was generated by the swagger tool. diff --git a/examples/composed-auth/README.md b/examples/composed-auth/README.md index 8486f3980..b339431cf 100644 --- a/examples/composed-auth/README.md +++ b/examples/composed-auth/README.md @@ -365,4 +365,4 @@ Content-Length: 51 "operation .AddOrder has not yet been implemented" ``` -[example_code]: https://github.com/go-swagger/go-swagger/blob/master/examples/composed-auth/ +[example_code]: https://github.com/cloudentity/go-swagger/blob/master/examples/composed-auth/ diff --git a/examples/composed-auth/auth/authorizers.go b/examples/composed-auth/auth/authorizers.go index 1ada5939f..7424c5275 100644 --- a/examples/composed-auth/auth/authorizers.go +++ b/examples/composed-auth/auth/authorizers.go @@ -5,7 +5,7 @@ import ( "os" errors "github.com/go-openapi/errors" - models "github.com/go-swagger/go-swagger/examples/composed-auth/models" + models "github.com/cloudentity/go-swagger/examples/composed-auth/models" jwt "github.com/golang-jwt/jwt" ) diff --git a/examples/composed-auth/cmd/multi-auth-example-server/main.go b/examples/composed-auth/cmd/multi-auth-example-server/main.go index bc9c9d6aa..d5182a13e 100644 --- a/examples/composed-auth/cmd/multi-auth-example-server/main.go +++ b/examples/composed-auth/cmd/multi-auth-example-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/composed-auth/restapi" - "github.com/go-swagger/go-swagger/examples/composed-auth/restapi/operations" + "github.com/cloudentity/go-swagger/examples/composed-auth/restapi" + "github.com/cloudentity/go-swagger/examples/composed-auth/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/composed-auth/restapi/configure_multi_auth_example.go b/examples/composed-auth/restapi/configure_multi_auth_example.go index 09d0cba4c..7baff6d9d 100644 --- a/examples/composed-auth/restapi/configure_multi_auth_example.go +++ b/examples/composed-auth/restapi/configure_multi_auth_example.go @@ -12,10 +12,10 @@ import ( runtime "github.com/go-openapi/runtime" middleware "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/composed-auth/restapi/operations" + "github.com/cloudentity/go-swagger/examples/composed-auth/restapi/operations" - auth "github.com/go-swagger/go-swagger/examples/composed-auth/auth" - models "github.com/go-swagger/go-swagger/examples/composed-auth/models" + auth "github.com/cloudentity/go-swagger/examples/composed-auth/auth" + models "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) //go:generate swagger generate server --target .. --name multi-auth-example --spec ../swagger.yml --principal models.Principal diff --git a/examples/composed-auth/restapi/operations/add_order.go b/examples/composed-auth/restapi/operations/add_order.go index 8ce95ae5b..4b06a312a 100644 --- a/examples/composed-auth/restapi/operations/add_order.go +++ b/examples/composed-auth/restapi/operations/add_order.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // AddOrderHandlerFunc turns a function with the right signature into a add order handler diff --git a/examples/composed-auth/restapi/operations/add_order_parameters.go b/examples/composed-auth/restapi/operations/add_order_parameters.go index ac33666bc..c8ac3588e 100644 --- a/examples/composed-auth/restapi/operations/add_order_parameters.go +++ b/examples/composed-auth/restapi/operations/add_order_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // NewAddOrderParams creates a new AddOrderParams object diff --git a/examples/composed-auth/restapi/operations/add_order_responses.go b/examples/composed-auth/restapi/operations/add_order_responses.go index ef3a36ddf..f9a811865 100644 --- a/examples/composed-auth/restapi/operations/add_order_responses.go +++ b/examples/composed-auth/restapi/operations/add_order_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // AddOrderOKCode is the HTTP code returned for type AddOrderOK diff --git a/examples/composed-auth/restapi/operations/get_account.go b/examples/composed-auth/restapi/operations/get_account.go index 9d88ecbc5..e023ff7d1 100644 --- a/examples/composed-auth/restapi/operations/get_account.go +++ b/examples/composed-auth/restapi/operations/get_account.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetAccountHandlerFunc turns a function with the right signature into a get account handler diff --git a/examples/composed-auth/restapi/operations/get_account_responses.go b/examples/composed-auth/restapi/operations/get_account_responses.go index a5ed8bef4..53717bb5a 100644 --- a/examples/composed-auth/restapi/operations/get_account_responses.go +++ b/examples/composed-auth/restapi/operations/get_account_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetAccountOKCode is the HTTP code returned for type GetAccountOK diff --git a/examples/composed-auth/restapi/operations/get_items_responses.go b/examples/composed-auth/restapi/operations/get_items_responses.go index a396b769e..55c5d4a32 100644 --- a/examples/composed-auth/restapi/operations/get_items_responses.go +++ b/examples/composed-auth/restapi/operations/get_items_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetItemsOKCode is the HTTP code returned for type GetItemsOK diff --git a/examples/composed-auth/restapi/operations/get_order.go b/examples/composed-auth/restapi/operations/get_order.go index 874aab9f9..132d26293 100644 --- a/examples/composed-auth/restapi/operations/get_order.go +++ b/examples/composed-auth/restapi/operations/get_order.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetOrderHandlerFunc turns a function with the right signature into a get order handler diff --git a/examples/composed-auth/restapi/operations/get_order_responses.go b/examples/composed-auth/restapi/operations/get_order_responses.go index 52b32db39..d9608b5d1 100644 --- a/examples/composed-auth/restapi/operations/get_order_responses.go +++ b/examples/composed-auth/restapi/operations/get_order_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetOrderOKCode is the HTTP code returned for type GetOrderOK diff --git a/examples/composed-auth/restapi/operations/get_orders_for_item.go b/examples/composed-auth/restapi/operations/get_orders_for_item.go index 09a35e031..c2e558684 100644 --- a/examples/composed-auth/restapi/operations/get_orders_for_item.go +++ b/examples/composed-auth/restapi/operations/get_orders_for_item.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetOrdersForItemHandlerFunc turns a function with the right signature into a get orders for item handler diff --git a/examples/composed-auth/restapi/operations/get_orders_for_item_responses.go b/examples/composed-auth/restapi/operations/get_orders_for_item_responses.go index 75f9316de..1e3571885 100644 --- a/examples/composed-auth/restapi/operations/get_orders_for_item_responses.go +++ b/examples/composed-auth/restapi/operations/get_orders_for_item_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // GetOrdersForItemOKCode is the HTTP code returned for type GetOrdersForItemOK diff --git a/examples/composed-auth/restapi/operations/multi_auth_example_api.go b/examples/composed-auth/restapi/operations/multi_auth_example_api.go index 1ecaa6765..d129cae6b 100644 --- a/examples/composed-auth/restapi/operations/multi_auth_example_api.go +++ b/examples/composed-auth/restapi/operations/multi_auth_example_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/composed-auth/models" + "github.com/cloudentity/go-swagger/examples/composed-auth/models" ) // NewMultiAuthExampleAPI creates a new MultiAuthExample instance diff --git a/examples/composed-auth/restapi/server.go b/examples/composed-auth/restapi/server.go index 2b1125d0a..06877e645 100644 --- a/examples/composed-auth/restapi/server.go +++ b/examples/composed-auth/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/composed-auth/restapi/operations" + "github.com/cloudentity/go-swagger/examples/composed-auth/restapi/operations" ) const ( diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_create_parameters.go b/examples/contributed-templates/stratoscale/client/pet/pet_create_parameters.go index 6a04cb742..4ac9c8548 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_create_parameters.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_create_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewPetCreateParams creates a new PetCreateParams object, diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_create_responses.go b/examples/contributed-templates/stratoscale/client/pet/pet_create_responses.go index 9b52e456f..c4eff1ba5 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_create_responses.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_create_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetCreateReader is a Reader for the PetCreate structure. diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_get_responses.go b/examples/contributed-templates/stratoscale/client/pet/pet_get_responses.go index c7684fa28..08efb8f76 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_get_responses.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_get_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetGetReader is a Reader for the PetGet structure. diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_list_responses.go b/examples/contributed-templates/stratoscale/client/pet/pet_list_responses.go index e89d0b469..31f3229f5 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_list_responses.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_list_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetListReader is a Reader for the PetList structure. diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_update_parameters.go b/examples/contributed-templates/stratoscale/client/pet/pet_update_parameters.go index 58c71d3af..cb8a4a8c5 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_update_parameters.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_update_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewPetUpdateParams creates a new PetUpdateParams object, diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_update_responses.go b/examples/contributed-templates/stratoscale/client/pet/pet_update_responses.go index 265de22b1..eb78290bf 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_update_responses.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_update_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetUpdateReader is a Reader for the PetUpdate structure. diff --git a/examples/contributed-templates/stratoscale/client/pet/pet_upload_image_responses.go b/examples/contributed-templates/stratoscale/client/pet/pet_upload_image_responses.go index 76369f000..d9b380f3e 100644 --- a/examples/contributed-templates/stratoscale/client/pet/pet_upload_image_responses.go +++ b/examples/contributed-templates/stratoscale/client/pet/pet_upload_image_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetUploadImageReader is a Reader for the PetUploadImage structure. diff --git a/examples/contributed-templates/stratoscale/client/petstore_client.go b/examples/contributed-templates/stratoscale/client/petstore_client.go index 72296a58b..fdb61ffa6 100644 --- a/examples/contributed-templates/stratoscale/client/petstore_client.go +++ b/examples/contributed-templates/stratoscale/client/petstore_client.go @@ -13,8 +13,8 @@ import ( rtclient "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/client/pet" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/client/store" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/client/pet" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/client/store" ) const ( diff --git a/examples/contributed-templates/stratoscale/client/store/order_create_parameters.go b/examples/contributed-templates/stratoscale/client/store/order_create_parameters.go index 18e4e6b15..0c1490083 100644 --- a/examples/contributed-templates/stratoscale/client/store/order_create_parameters.go +++ b/examples/contributed-templates/stratoscale/client/store/order_create_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewOrderCreateParams creates a new OrderCreateParams object, diff --git a/examples/contributed-templates/stratoscale/client/store/order_create_responses.go b/examples/contributed-templates/stratoscale/client/store/order_create_responses.go index e5d9fddde..30d7f3f3b 100644 --- a/examples/contributed-templates/stratoscale/client/store/order_create_responses.go +++ b/examples/contributed-templates/stratoscale/client/store/order_create_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // OrderCreateReader is a Reader for the OrderCreate structure. diff --git a/examples/contributed-templates/stratoscale/client/store/order_get_responses.go b/examples/contributed-templates/stratoscale/client/store/order_get_responses.go index eb971873f..22520a7c7 100644 --- a/examples/contributed-templates/stratoscale/client/store/order_get_responses.go +++ b/examples/contributed-templates/stratoscale/client/store/order_get_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // OrderGetReader is a Reader for the OrderGet structure. diff --git a/examples/contributed-templates/stratoscale/restapi/configure_petstore.go b/examples/contributed-templates/stratoscale/restapi/configure_petstore.go index 733cf4d5b..b08b1169d 100644 --- a/examples/contributed-templates/stratoscale/restapi/configure_petstore.go +++ b/examples/contributed-templates/stratoscale/restapi/configure_petstore.go @@ -14,9 +14,9 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/runtime/security" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/restapi/operations" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/pet" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/store" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/restapi/operations" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/pet" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/store" ) type contextKey string diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_parameters.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_parameters.go index e9742ed93..d95392da8 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_parameters.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewPetCreateParams creates a new PetCreateParams object diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_responses.go index adc9f32c4..3de23cdb4 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_create_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetCreateCreatedCode is the HTTP code returned for type PetCreateCreated diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_get_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_get_responses.go index ec25547fa..4258517ec 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_get_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_get_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetGetOKCode is the HTTP code returned for type PetGetOK diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_list_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_list_responses.go index 08c03a16f..1a8e373d1 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_list_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_list_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetListOKCode is the HTTP code returned for type PetListOK diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_parameters.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_parameters.go index 23685cdcc..84394fd88 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_parameters.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewPetUpdateParams creates a new PetUpdateParams object diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_responses.go index ec669d46e..6c69cc7d5 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_update_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetUpdateCreatedCode is the HTTP code returned for type PetUpdateCreated diff --git a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_upload_image_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_upload_image_responses.go index 92cd1c9bf..f5cdad164 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_upload_image_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/pet/pet_upload_image_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // PetUploadImageOKCode is the HTTP code returned for type PetUploadImageOK diff --git a/examples/contributed-templates/stratoscale/restapi/operations/petstore_api.go b/examples/contributed-templates/stratoscale/restapi/operations/petstore_api.go index aa13f79ac..e2961edf6 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/petstore_api.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/petstore_api.go @@ -19,8 +19,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/pet" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/store" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/pet" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/restapi/operations/store" ) // NewPetstoreAPI creates a new Petstore instance diff --git a/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_parameters.go b/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_parameters.go index 258f28161..472387f3e 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_parameters.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // NewOrderCreateParams creates a new OrderCreateParams object diff --git a/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_responses.go index ad489ef31..abf6c7bd1 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/store/order_create_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // OrderCreateOKCode is the HTTP code returned for type OrderCreateOK diff --git a/examples/contributed-templates/stratoscale/restapi/operations/store/order_get_responses.go b/examples/contributed-templates/stratoscale/restapi/operations/store/order_get_responses.go index e6c81ad46..8cb2885ea 100644 --- a/examples/contributed-templates/stratoscale/restapi/operations/store/order_get_responses.go +++ b/examples/contributed-templates/stratoscale/restapi/operations/store/order_get_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/contributed-templates/stratoscale/models" + "github.com/cloudentity/go-swagger/examples/contributed-templates/stratoscale/models" ) // OrderGetOKCode is the HTTP code returned for type OrderGetOK diff --git a/examples/external-types/cmd/external-types-demo-server/main.go b/examples/external-types/cmd/external-types-demo-server/main.go index c5c779c61..714ba58d8 100644 --- a/examples/external-types/cmd/external-types-demo-server/main.go +++ b/examples/external-types/cmd/external-types-demo-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/external-types/restapi" - "github.com/go-swagger/go-swagger/examples/external-types/restapi/operations" + "github.com/cloudentity/go-swagger/examples/external-types/restapi" + "github.com/cloudentity/go-swagger/examples/external-types/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/external-types/example-external-types.yaml b/examples/external-types/example-external-types.yaml index 1124098c6..57f8ab539 100644 --- a/examples/external-types/example-external-types.yaml +++ b/examples/external-types/example-external-types.yaml @@ -56,7 +56,7 @@ paths: x-go-type: type: MyAlternateString import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom post: @@ -76,7 +76,7 @@ paths: x-go-type: type: MyAlternateString import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom responses: @@ -96,7 +96,7 @@ paths: x-go-type: type: MyAlternateString import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom /stream: @@ -182,7 +182,7 @@ definitions: x-go-type: type: MyAlternateInteger import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" epsilon: type: array @@ -191,7 +191,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom reqMeta: @@ -213,7 +213,7 @@ definitions: x-go-type: type: MyAlternateInteger import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" reqEpsilon: type: array @@ -222,7 +222,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom nullableMeta: @@ -270,7 +270,7 @@ definitions: x-go-type: type: MyAlternateInteger import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" hints: nullable: true @@ -286,7 +286,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: custom x-nullable: true @@ -310,7 +310,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate MyCustomArray: @@ -327,7 +327,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate MyCustomArrayNullable: @@ -343,7 +343,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate hints: nullable: true @@ -364,7 +364,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate MyCustomMapNullable: @@ -382,7 +382,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate x-nullable: true @@ -415,7 +415,7 @@ definitions: x-go-type: type: MyAlternateInterface import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" hints: kind: interface @@ -426,7 +426,7 @@ definitions: x-go-type: type: MyExtType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/go-ext" + package: "github.com/cloudentity/go-swagger/examples/external-types/go-ext" MyExtCollection: description: | @@ -458,7 +458,7 @@ definitions: x-go-type: type: MyAlternateStreamer import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" alias: alternate reader3: description: | @@ -472,7 +472,7 @@ definitions: x-go-type: type: MyAlternateStreamer import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" hints: kind: stream @@ -501,7 +501,7 @@ definitions: x-go-type: type: MyAlternateInterface import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" hints: kind: interface @@ -541,7 +541,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" additionalItems: description: | Additional items to a tuple, from an external type. @@ -554,7 +554,7 @@ definitions: x-go-type: type: MyAlternateType import: - package: "github.com/go-swagger/go-swagger/examples/external-types/fred" + package: "github.com/cloudentity/go-swagger/examples/external-types/fred" EmbeddedTime: description: | diff --git a/examples/external-types/models/my_custom_array.go b/examples/external-types/models/my_custom_array.go index 1ed308b42..fb62cd2bb 100644 --- a/examples/external-types/models/my_custom_array.go +++ b/examples/external-types/models/my_custom_array.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyCustomArray This generate an array type in models, based on the external type. diff --git a/examples/external-types/models/my_custom_array_nullable.go b/examples/external-types/models/my_custom_array_nullable.go index eafaf47dd..f2e4e65aa 100644 --- a/examples/external-types/models/my_custom_array_nullable.go +++ b/examples/external-types/models/my_custom_array_nullable.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyCustomArrayNullable This generate an array type in models, based on the external type. diff --git a/examples/external-types/models/my_custom_map.go b/examples/external-types/models/my_custom_map.go index 86f999246..e7610ea55 100644 --- a/examples/external-types/models/my_custom_map.go +++ b/examples/external-types/models/my_custom_map.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyCustomMap This generate a map type in models, based on the external type. diff --git a/examples/external-types/models/my_custom_map_nullable.go b/examples/external-types/models/my_custom_map_nullable.go index 0be2dc363..b4447b31d 100644 --- a/examples/external-types/models/my_custom_map_nullable.go +++ b/examples/external-types/models/my_custom_map_nullable.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyCustomMapNullable This generate a map type in models, based on the external type. diff --git a/examples/external-types/models/my_ext_collection.go b/examples/external-types/models/my_ext_collection.go index 1ce39669c..4a4ae77c3 100644 --- a/examples/external-types/models/my_ext_collection.go +++ b/examples/external-types/models/my_ext_collection.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" - go_ext "github.com/go-swagger/go-swagger/examples/external-types/go-ext" + go_ext "github.com/cloudentity/go-swagger/examples/external-types/go-ext" ) // MyExtCollection This type demonstrates the import generation with name mangling diff --git a/examples/external-types/models/my_interface_object.go b/examples/external-types/models/my_interface_object.go index 28e5e9c74..9a25bb846 100644 --- a/examples/external-types/models/my_interface_object.go +++ b/examples/external-types/models/my_interface_object.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/external-types/fred" + "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyInterfaceObject This object demonstrates several ways to refer to an external interface. diff --git a/examples/external-types/models/my_reader_object.go b/examples/external-types/models/my_reader_object.go index 59854091a..11bbd5a1f 100644 --- a/examples/external-types/models/my_reader_object.go +++ b/examples/external-types/models/my_reader_object.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/external-types/fred" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + "github.com/cloudentity/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyReaderObject This object demonstrates several ways to refer to an external interface (here assumed akin to io.Reader). diff --git a/examples/external-types/models/my_tuple.go b/examples/external-types/models/my_tuple.go index a0b90c964..5c58c727c 100644 --- a/examples/external-types/models/my_tuple.go +++ b/examples/external-types/models/my_tuple.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/external-types/fred" + "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // MyTuple Demonstrates references to some external type in the context of a tuple. diff --git a/examples/external-types/models/zzz.go b/examples/external-types/models/zzz.go index fbfdd69fb..44faec84d 100644 --- a/examples/external-types/models/zzz.go +++ b/examples/external-types/models/zzz.go @@ -13,8 +13,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/external-types/fred" - custom "github.com/go-swagger/go-swagger/examples/external-types/fred" + "github.com/cloudentity/go-swagger/examples/external-types/fred" + custom "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // Zzz This demonstrates variations in generated code, depending on how properties are declared. diff --git a/examples/external-types/restapi/configure_external_types_demo.go b/examples/external-types/restapi/configure_external_types_demo.go index 1eb028a19..b8d71a783 100644 --- a/examples/external-types/restapi/configure_external_types_demo.go +++ b/examples/external-types/restapi/configure_external_types_demo.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/external-types/restapi/operations" + "github.com/cloudentity/go-swagger/examples/external-types/restapi/operations" ) //go:generate swagger generate server --target ../../external-types --name ExternalTypesDemo --spec ../example-external-types.yaml --principal interface{} diff --git a/examples/external-types/restapi/embedded_spec.go b/examples/external-types/restapi/embedded_spec.go index d9861478e..00df8999b 100644 --- a/examples/external-types/restapi/embedded_spec.go +++ b/examples/external-types/restapi/embedded_spec.go @@ -71,7 +71,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -93,7 +93,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -114,7 +114,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -167,7 +167,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -180,7 +180,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -197,7 +197,7 @@ func init() { }, "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -213,7 +213,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -230,7 +230,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" }, @@ -249,7 +249,7 @@ func init() { "description": "This type is located in a package which requires name mangling.\n", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/go-ext" + "package": "github.com/cloudentity/go-swagger/examples/external-types/go-ext" }, "type": "MyExtType" } @@ -261,7 +261,7 @@ func init() { "kind": "interface" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInterface" } @@ -284,7 +284,7 @@ func init() { "kind": "interface" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInterface" } @@ -326,7 +326,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateStreamer" } @@ -338,7 +338,7 @@ func init() { "kind": "stream" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateStreamer" } @@ -357,7 +357,7 @@ func init() { "type": "object", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -369,7 +369,7 @@ func init() { "additionalProperties": { "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -476,7 +476,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -486,7 +486,7 @@ func init() { "description": "Property defined as an external type from package \"fred\"\n", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } @@ -525,7 +525,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" }, @@ -539,7 +539,7 @@ func init() { "nullable": true }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } @@ -570,7 +570,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -579,7 +579,7 @@ func init() { "reqGamma": { "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } @@ -645,7 +645,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -667,7 +667,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -688,7 +688,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateString" } @@ -741,7 +741,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -754,7 +754,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -771,7 +771,7 @@ func init() { }, "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -787,7 +787,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -804,7 +804,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" }, @@ -823,7 +823,7 @@ func init() { "description": "This type is located in a package which requires name mangling.\n", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/go-ext" + "package": "github.com/cloudentity/go-swagger/examples/external-types/go-ext" }, "type": "MyExtType" } @@ -835,7 +835,7 @@ func init() { "kind": "interface" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInterface" } @@ -858,7 +858,7 @@ func init() { "kind": "interface" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInterface" } @@ -900,7 +900,7 @@ func init() { "x-go-type": { "import": { "alias": "alternate", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateStreamer" } @@ -912,7 +912,7 @@ func init() { "kind": "stream" }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateStreamer" } @@ -931,7 +931,7 @@ func init() { "type": "object", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -943,7 +943,7 @@ func init() { "additionalProperties": { "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -1050,7 +1050,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -1060,7 +1060,7 @@ func init() { "description": "Property defined as an external type from package \"fred\"\n", "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } @@ -1099,7 +1099,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" }, @@ -1113,7 +1113,7 @@ func init() { "nullable": true }, "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } @@ -1144,7 +1144,7 @@ func init() { "x-go-type": { "import": { "alias": "custom", - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateType" } @@ -1153,7 +1153,7 @@ func init() { "reqGamma": { "x-go-type": { "import": { - "package": "github.com/go-swagger/go-swagger/examples/external-types/fred" + "package": "github.com/cloudentity/go-swagger/examples/external-types/fred" }, "type": "MyAlternateInteger" } diff --git a/examples/external-types/restapi/operations/get_stream_responses.go b/examples/external-types/restapi/operations/get_stream_responses.go index 3959e38e8..4f22a9a5a 100644 --- a/examples/external-types/restapi/operations/get_stream_responses.go +++ b/examples/external-types/restapi/operations/get_stream_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/external-types/models" + "github.com/cloudentity/go-swagger/examples/external-types/models" ) /* diff --git a/examples/external-types/restapi/operations/get_test_swagger_responses.go b/examples/external-types/restapi/operations/get_test_swagger_responses.go index 3bcd67099..5c20b9487 100644 --- a/examples/external-types/restapi/operations/get_test_swagger_responses.go +++ b/examples/external-types/restapi/operations/get_test_swagger_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/external-types/models" + "github.com/cloudentity/go-swagger/examples/external-types/models" ) /* diff --git a/examples/external-types/restapi/operations/post_test_swagger_parameters.go b/examples/external-types/restapi/operations/post_test_swagger_parameters.go index 42c3783c8..7f5b76d91 100644 --- a/examples/external-types/restapi/operations/post_test_swagger_parameters.go +++ b/examples/external-types/restapi/operations/post_test_swagger_parameters.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - custom "github.com/go-swagger/go-swagger/examples/external-types/fred" + custom "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // NewPostTestParams creates a new PostTestParams object diff --git a/examples/external-types/restapi/operations/post_test_swagger_responses.go b/examples/external-types/restapi/operations/post_test_swagger_responses.go index ba9c86d7a..a6bc2be1e 100644 --- a/examples/external-types/restapi/operations/post_test_swagger_responses.go +++ b/examples/external-types/restapi/operations/post_test_swagger_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - custom "github.com/go-swagger/go-swagger/examples/external-types/fred" + custom "github.com/cloudentity/go-swagger/examples/external-types/fred" ) /* diff --git a/examples/external-types/restapi/operations/put_test_swagger_parameters.go b/examples/external-types/restapi/operations/put_test_swagger_parameters.go index fe9e44877..cb877a62c 100644 --- a/examples/external-types/restapi/operations/put_test_swagger_parameters.go +++ b/examples/external-types/restapi/operations/put_test_swagger_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - alternate "github.com/go-swagger/go-swagger/examples/external-types/fred" + alternate "github.com/cloudentity/go-swagger/examples/external-types/fred" ) // NewPutTestParams creates a new PutTestParams object diff --git a/examples/external-types/restapi/operations/put_test_swagger_responses.go b/examples/external-types/restapi/operations/put_test_swagger_responses.go index d927f18fd..c0531a500 100644 --- a/examples/external-types/restapi/operations/put_test_swagger_responses.go +++ b/examples/external-types/restapi/operations/put_test_swagger_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - custom "github.com/go-swagger/go-swagger/examples/external-types/fred" + custom "github.com/cloudentity/go-swagger/examples/external-types/fred" ) /* diff --git a/examples/external-types/restapi/server.go b/examples/external-types/restapi/server.go index f819b2bb4..84fee2d98 100644 --- a/examples/external-types/restapi/server.go +++ b/examples/external-types/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/external-types/restapi/operations" + "github.com/cloudentity/go-swagger/examples/external-types/restapi/operations" ) const ( diff --git a/examples/file-server/client/file_upload_client.go b/examples/file-server/client/file_upload_client.go index 25feee3fd..afcfb2468 100644 --- a/examples/file-server/client/file_upload_client.go +++ b/examples/file-server/client/file_upload_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/file-server/client/uploads" + "github.com/cloudentity/go-swagger/examples/file-server/client/uploads" ) // Default file upload HTTP client. diff --git a/examples/file-server/cmd/file-upload-server/main.go b/examples/file-server/cmd/file-upload-server/main.go index a45a097fc..d813fc91e 100644 --- a/examples/file-server/cmd/file-upload-server/main.go +++ b/examples/file-server/cmd/file-upload-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/file-server/restapi" - "github.com/go-swagger/go-swagger/examples/file-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/file-server/restapi" + "github.com/cloudentity/go-swagger/examples/file-server/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/file-server/restapi/configure_file_upload.go b/examples/file-server/restapi/configure_file_upload.go index 7b69ebfea..fed4d2f56 100644 --- a/examples/file-server/restapi/configure_file_upload.go +++ b/examples/file-server/restapi/configure_file_upload.go @@ -15,8 +15,8 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/file-server/restapi/operations" - "github.com/go-swagger/go-swagger/examples/file-server/restapi/operations/uploads" + "github.com/cloudentity/go-swagger/examples/file-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/file-server/restapi/operations/uploads" ) //go:generate swagger generate server --target ../../file-server --name FileUpload --spec ../swagger.yml --principal interface{} diff --git a/examples/file-server/restapi/operations/file_upload_api.go b/examples/file-server/restapi/operations/file_upload_api.go index 04f352b87..59689de88 100644 --- a/examples/file-server/restapi/operations/file_upload_api.go +++ b/examples/file-server/restapi/operations/file_upload_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/file-server/restapi/operations/uploads" + "github.com/cloudentity/go-swagger/examples/file-server/restapi/operations/uploads" ) // NewFileUploadAPI creates a new FileUpload instance diff --git a/examples/file-server/restapi/server.go b/examples/file-server/restapi/server.go index 877779d87..ad7a4ab27 100644 --- a/examples/file-server/restapi/server.go +++ b/examples/file-server/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/file-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/file-server/restapi/operations" ) const ( diff --git a/examples/file-server/upload_file.go b/examples/file-server/upload_file.go index 629dd166b..e732ec5f3 100644 --- a/examples/file-server/upload_file.go +++ b/examples/file-server/upload_file.go @@ -8,8 +8,8 @@ import ( "os" "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/file-server/client" - "github.com/go-swagger/go-swagger/examples/file-server/client/uploads" + "github.com/cloudentity/go-swagger/examples/file-server/client" + "github.com/cloudentity/go-swagger/examples/file-server/client/uploads" ) func main() { diff --git a/examples/generated/cmd/petstore-server/main.go b/examples/generated/cmd/petstore-server/main.go index 60f9095a6..8fcbbec5d 100644 --- a/examples/generated/cmd/petstore-server/main.go +++ b/examples/generated/cmd/petstore-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/generated/restapi" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations" + "github.com/cloudentity/go-swagger/examples/generated/restapi" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/generated/restapi/configure_petstore.go b/examples/generated/restapi/configure_petstore.go index a0aa0ba68..52ba7acf8 100644 --- a/examples/generated/restapi/configure_petstore.go +++ b/examples/generated/restapi/configure_petstore.go @@ -10,10 +10,10 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/pet" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/store" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/user" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/pet" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/store" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/user" ) //go:generate swagger generate server --target ../../generated --name Petstore --spec ../swagger-petstore.json --principal interface{} diff --git a/examples/generated/restapi/operations/pet/add_pet_parameters.go b/examples/generated/restapi/operations/pet/add_pet_parameters.go index f778f1e45..9e11c9a7f 100644 --- a/examples/generated/restapi/operations/pet/add_pet_parameters.go +++ b/examples/generated/restapi/operations/pet/add_pet_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewAddPetParams creates a new AddPetParams object diff --git a/examples/generated/restapi/operations/pet/find_pets_by_status_responses.go b/examples/generated/restapi/operations/pet/find_pets_by_status_responses.go index e7fb9d8f9..a3f9ca2fb 100644 --- a/examples/generated/restapi/operations/pet/find_pets_by_status_responses.go +++ b/examples/generated/restapi/operations/pet/find_pets_by_status_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // FindPetsByStatusOKCode is the HTTP code returned for type FindPetsByStatusOK diff --git a/examples/generated/restapi/operations/pet/find_pets_by_tags_responses.go b/examples/generated/restapi/operations/pet/find_pets_by_tags_responses.go index 831b49520..28db542ec 100644 --- a/examples/generated/restapi/operations/pet/find_pets_by_tags_responses.go +++ b/examples/generated/restapi/operations/pet/find_pets_by_tags_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // FindPetsByTagsOKCode is the HTTP code returned for type FindPetsByTagsOK diff --git a/examples/generated/restapi/operations/pet/get_pet_by_id_responses.go b/examples/generated/restapi/operations/pet/get_pet_by_id_responses.go index 32b934798..6708124cd 100644 --- a/examples/generated/restapi/operations/pet/get_pet_by_id_responses.go +++ b/examples/generated/restapi/operations/pet/get_pet_by_id_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // GetPetByIDOKCode is the HTTP code returned for type GetPetByIDOK diff --git a/examples/generated/restapi/operations/pet/update_pet_parameters.go b/examples/generated/restapi/operations/pet/update_pet_parameters.go index 498b8b98f..c1379601f 100644 --- a/examples/generated/restapi/operations/pet/update_pet_parameters.go +++ b/examples/generated/restapi/operations/pet/update_pet_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewUpdatePetParams creates a new UpdatePetParams object diff --git a/examples/generated/restapi/operations/petstore_api.go b/examples/generated/restapi/operations/petstore_api.go index af28d21e2..dc65f4d88 100644 --- a/examples/generated/restapi/operations/petstore_api.go +++ b/examples/generated/restapi/operations/petstore_api.go @@ -19,9 +19,9 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/pet" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/store" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations/user" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/pet" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/store" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations/user" ) // NewPetstoreAPI creates a new Petstore instance diff --git a/examples/generated/restapi/operations/store/get_order_by_id_responses.go b/examples/generated/restapi/operations/store/get_order_by_id_responses.go index 2dae3b675..56e1ddac6 100644 --- a/examples/generated/restapi/operations/store/get_order_by_id_responses.go +++ b/examples/generated/restapi/operations/store/get_order_by_id_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // GetOrderByIDOKCode is the HTTP code returned for type GetOrderByIDOK diff --git a/examples/generated/restapi/operations/store/place_order_parameters.go b/examples/generated/restapi/operations/store/place_order_parameters.go index 504043c5d..180386cca 100644 --- a/examples/generated/restapi/operations/store/place_order_parameters.go +++ b/examples/generated/restapi/operations/store/place_order_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewPlaceOrderParams creates a new PlaceOrderParams object diff --git a/examples/generated/restapi/operations/store/place_order_responses.go b/examples/generated/restapi/operations/store/place_order_responses.go index 51184a081..c7323e0cf 100644 --- a/examples/generated/restapi/operations/store/place_order_responses.go +++ b/examples/generated/restapi/operations/store/place_order_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // PlaceOrderOKCode is the HTTP code returned for type PlaceOrderOK diff --git a/examples/generated/restapi/operations/user/create_user_parameters.go b/examples/generated/restapi/operations/user/create_user_parameters.go index edae41d99..76f858c8f 100644 --- a/examples/generated/restapi/operations/user/create_user_parameters.go +++ b/examples/generated/restapi/operations/user/create_user_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewCreateUserParams creates a new CreateUserParams object diff --git a/examples/generated/restapi/operations/user/create_users_with_array_input_parameters.go b/examples/generated/restapi/operations/user/create_users_with_array_input_parameters.go index 640d344f1..217106855 100644 --- a/examples/generated/restapi/operations/user/create_users_with_array_input_parameters.go +++ b/examples/generated/restapi/operations/user/create_users_with_array_input_parameters.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewCreateUsersWithArrayInputParams creates a new CreateUsersWithArrayInputParams object diff --git a/examples/generated/restapi/operations/user/create_users_with_list_input_parameters.go b/examples/generated/restapi/operations/user/create_users_with_list_input_parameters.go index 918e7dc10..7eec7a4b0 100644 --- a/examples/generated/restapi/operations/user/create_users_with_list_input_parameters.go +++ b/examples/generated/restapi/operations/user/create_users_with_list_input_parameters.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewCreateUsersWithListInputParams creates a new CreateUsersWithListInputParams object diff --git a/examples/generated/restapi/operations/user/get_user_by_name_responses.go b/examples/generated/restapi/operations/user/get_user_by_name_responses.go index 3956c7889..ced778626 100644 --- a/examples/generated/restapi/operations/user/get_user_by_name_responses.go +++ b/examples/generated/restapi/operations/user/get_user_by_name_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // GetUserByNameOKCode is the HTTP code returned for type GetUserByNameOK diff --git a/examples/generated/restapi/operations/user/update_user_parameters.go b/examples/generated/restapi/operations/user/update_user_parameters.go index 86fefed16..0cd484ea8 100644 --- a/examples/generated/restapi/operations/user/update_user_parameters.go +++ b/examples/generated/restapi/operations/user/update_user_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/generated/models" + "github.com/cloudentity/go-swagger/examples/generated/models" ) // NewUpdateUserParams creates a new UpdateUserParams object diff --git a/examples/generated/restapi/server.go b/examples/generated/restapi/server.go index 9950516d1..9117db1de 100644 --- a/examples/generated/restapi/server.go +++ b/examples/generated/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/generated/restapi/operations" + "github.com/cloudentity/go-swagger/examples/generated/restapi/operations" ) const ( diff --git a/examples/generated/swagger.json b/examples/generated/swagger.json index 5bfe0ce7f..f5bde039b 100644 --- a/examples/generated/swagger.json +++ b/examples/generated/swagger.json @@ -407,7 +407,7 @@ "x-go-name": "Name" } }, - "x-go-package": "github.com/go-swagger/go-swagger/examples/generated/models" + "x-go-package": "github.com/cloudentity/go-swagger/examples/generated/models" }, "DateTime": { "description": "DateTime is a time but it serializes to ISO8601 format with millis\nIt knows how to read 3 different variations of a RFC3339 date time.\nMost APIs we encounter want either millisecond or second precision times.\nThis just tries to make it worry-free.", @@ -454,7 +454,7 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/go-swagger/go-swagger/examples/generated/models" + "x-go-package": "github.com/cloudentity/go-swagger/examples/generated/models" }, "Pet": { "description": "Pet pet", @@ -500,7 +500,7 @@ "x-go-name": "Tags" } }, - "x-go-package": "github.com/go-swagger/go-swagger/examples/generated/models" + "x-go-package": "github.com/cloudentity/go-swagger/examples/generated/models" }, "Tag": { "description": "Tag tag", @@ -518,7 +518,7 @@ "x-go-name": "Name" } }, - "x-go-package": "github.com/go-swagger/go-swagger/examples/generated/models" + "x-go-package": "github.com/cloudentity/go-swagger/examples/generated/models" }, "User": { "description": "User user", @@ -567,7 +567,7 @@ "x-go-name": "Username" } }, - "x-go-package": "github.com/go-swagger/go-swagger/examples/generated/models" + "x-go-package": "github.com/cloudentity/go-swagger/examples/generated/models" } }, "responses": { diff --git a/examples/oauth2/README.md b/examples/oauth2/README.md index dc4dcde99..46baeeb8b 100644 --- a/examples/oauth2/README.md +++ b/examples/oauth2/README.md @@ -294,7 +294,7 @@ Make sure that the callback URL is the same as set in the above code (``./restap http://127.0.0.1:12345/api/auth/callback ``` -![Google api screenshot](https://github.com/go-swagger/go-swagger/blob/master/examples/oauth2/img/google-api.png) +![Google api screenshot](https://github.com/cloudentity/go-swagger/blob/master/examples/oauth2/img/google-api.png) >**NOTE:** you may specify a client ID for your API during the registration process. >A password (the API client's secret) is then delivered. @@ -355,4 +355,4 @@ Content-Length: 47 ``` [google_credential]: https://console.cloud.google.com/apis/credentials/ -[example_code]: https://github.com/go-swagger/go-swagger/blob/master/examples/oauth2/ +[example_code]: https://github.com/cloudentity/go-swagger/blob/master/examples/oauth2/ diff --git a/examples/oauth2/cmd/oauth-sample-server/main.go b/examples/oauth2/cmd/oauth-sample-server/main.go index 17d1ef5eb..bd480c5f4 100644 --- a/examples/oauth2/cmd/oauth-sample-server/main.go +++ b/examples/oauth2/cmd/oauth-sample-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/oauth2/restapi/configure_oauth_sample.go b/examples/oauth2/restapi/configure_oauth_sample.go index 946da7b04..749f87ec4 100644 --- a/examples/oauth2/restapi/configure_oauth_sample.go +++ b/examples/oauth2/restapi/configure_oauth_sample.go @@ -13,10 +13,10 @@ import ( middleware "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi/operations" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi/operations/customers" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi/operations/customers" - models "github.com/go-swagger/go-swagger/examples/oauth2/models" + models "github.com/cloudentity/go-swagger/examples/oauth2/models" ) //go:generate swagger generate server --target .. --name oauthSample --spec ../swagger.yml --principal models.Principal diff --git a/examples/oauth2/restapi/operations/customers/create.go b/examples/oauth2/restapi/operations/customers/create.go index 429d42d80..8cf4c1926 100644 --- a/examples/oauth2/restapi/operations/customers/create.go +++ b/examples/oauth2/restapi/operations/customers/create.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // CreateHandlerFunc turns a function with the right signature into a create handler diff --git a/examples/oauth2/restapi/operations/customers/create_parameters.go b/examples/oauth2/restapi/operations/customers/create_parameters.go index da19e3c7e..06ccc4c95 100644 --- a/examples/oauth2/restapi/operations/customers/create_parameters.go +++ b/examples/oauth2/restapi/operations/customers/create_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // NewCreateParams creates a new CreateParams object diff --git a/examples/oauth2/restapi/operations/customers/create_responses.go b/examples/oauth2/restapi/operations/customers/create_responses.go index 6f1da90d7..602e8790b 100644 --- a/examples/oauth2/restapi/operations/customers/create_responses.go +++ b/examples/oauth2/restapi/operations/customers/create_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // CreateCreatedCode is the HTTP code returned for type CreateCreated diff --git a/examples/oauth2/restapi/operations/customers/get_id.go b/examples/oauth2/restapi/operations/customers/get_id.go index 577ea93ab..fb6b47eff 100644 --- a/examples/oauth2/restapi/operations/customers/get_id.go +++ b/examples/oauth2/restapi/operations/customers/get_id.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // GetIDHandlerFunc turns a function with the right signature into a get Id handler diff --git a/examples/oauth2/restapi/operations/customers/get_id_parameters.go b/examples/oauth2/restapi/operations/customers/get_id_parameters.go index cd19ffc38..bb1b9a61d 100644 --- a/examples/oauth2/restapi/operations/customers/get_id_parameters.go +++ b/examples/oauth2/restapi/operations/customers/get_id_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // NewGetIDParams creates a new GetIDParams object diff --git a/examples/oauth2/restapi/operations/customers/get_id_responses.go b/examples/oauth2/restapi/operations/customers/get_id_responses.go index c17cda25f..c64a0bf43 100644 --- a/examples/oauth2/restapi/operations/customers/get_id_responses.go +++ b/examples/oauth2/restapi/operations/customers/get_id_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // GetIDOKCode is the HTTP code returned for type GetIDOK diff --git a/examples/oauth2/restapi/operations/get_auth_callback_responses.go b/examples/oauth2/restapi/operations/get_auth_callback_responses.go index 0ab9f8593..e1feb7b56 100644 --- a/examples/oauth2/restapi/operations/get_auth_callback_responses.go +++ b/examples/oauth2/restapi/operations/get_auth_callback_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // GetAuthCallbackOKCode is the HTTP code returned for type GetAuthCallbackOK diff --git a/examples/oauth2/restapi/operations/get_login_responses.go b/examples/oauth2/restapi/operations/get_login_responses.go index 194a70f1d..abce9a54b 100644 --- a/examples/oauth2/restapi/operations/get_login_responses.go +++ b/examples/oauth2/restapi/operations/get_login_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/models" ) // GetLoginOKCode is the HTTP code returned for type GetLoginOK diff --git a/examples/oauth2/restapi/operations/oauth_sample_api.go b/examples/oauth2/restapi/operations/oauth_sample_api.go index 561e5bb78..c98a9136d 100644 --- a/examples/oauth2/restapi/operations/oauth_sample_api.go +++ b/examples/oauth2/restapi/operations/oauth_sample_api.go @@ -19,8 +19,8 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/oauth2/models" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi/operations/customers" + "github.com/cloudentity/go-swagger/examples/oauth2/models" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi/operations/customers" ) // NewOauthSampleAPI creates a new OauthSample instance diff --git a/examples/oauth2/restapi/server.go b/examples/oauth2/restapi/server.go index 361fa1503..f84e9e2e6 100644 --- a/examples/oauth2/restapi/server.go +++ b/examples/oauth2/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/oauth2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/oauth2/restapi/operations" ) const ( diff --git a/examples/stream-client/client/jigsaw_client.go b/examples/stream-client/client/jigsaw_client.go index 16fc07254..47d82c17b 100644 --- a/examples/stream-client/client/jigsaw_client.go +++ b/examples/stream-client/client/jigsaw_client.go @@ -9,7 +9,7 @@ import ( "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/stream-client/client/operations" + "github.com/cloudentity/go-swagger/examples/stream-client/client/operations" ) // Default jigsaw HTTP client. diff --git a/examples/stream-client/jigsaw.go b/examples/stream-client/jigsaw.go index 5bff33a8d..383ee5faf 100644 --- a/examples/stream-client/jigsaw.go +++ b/examples/stream-client/jigsaw.go @@ -16,8 +16,8 @@ import ( "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" - "github.com/go-swagger/go-swagger/fixtures/bugs/883/gen-fixture-883/client" - "github.com/go-swagger/go-swagger/fixtures/bugs/883/gen-fixture-883/client/operations" + "github.com/cloudentity/go-swagger/fixtures/bugs/883/gen-fixture-883/client" + "github.com/cloudentity/go-swagger/fixtures/bugs/883/gen-fixture-883/client/operations" ) // Buffer knows how to UnmarshalText diff --git a/examples/stream-server/README.md b/examples/stream-server/README.md index 237fefa06..65a29fb1a 100644 --- a/examples/stream-server/README.md +++ b/examples/stream-server/README.md @@ -140,7 +140,7 @@ import ( ... "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" - "github.com/go-swagger/go-swagger/examples/stream-server/client" + "github.com/cloudentity/go-swagger/examples/stream-server/client" ... ) diff --git a/examples/stream-server/biz/count.go b/examples/stream-server/biz/count.go index c14d2ddae..808198c82 100644 --- a/examples/stream-server/biz/count.go +++ b/examples/stream-server/biz/count.go @@ -6,7 +6,7 @@ import ( "io" "time" - "github.com/go-swagger/go-swagger/examples/stream-server/models" + "github.com/cloudentity/go-swagger/examples/stream-server/models" ) // MyCounter is the concrete implementation diff --git a/examples/stream-server/client/countdown_client.go b/examples/stream-server/client/countdown_client.go index d0cd58cf3..39a04661f 100644 --- a/examples/stream-server/client/countdown_client.go +++ b/examples/stream-server/client/countdown_client.go @@ -9,7 +9,7 @@ import ( "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/stream-server/client/operations" + "github.com/cloudentity/go-swagger/examples/stream-server/client/operations" ) // Default countdown HTTP client. diff --git a/examples/stream-server/cmd/countdown-server/main.go b/examples/stream-server/cmd/countdown-server/main.go index 96a2023ca..e1fc51f9e 100644 --- a/examples/stream-server/cmd/countdown-server/main.go +++ b/examples/stream-server/cmd/countdown-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/stream-server/restapi" - "github.com/go-swagger/go-swagger/examples/stream-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/stream-server/restapi" + "github.com/cloudentity/go-swagger/examples/stream-server/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/stream-server/elapsed_client.go b/examples/stream-server/elapsed_client.go index 84c30c0ca..47cf8c86c 100644 --- a/examples/stream-server/elapsed_client.go +++ b/examples/stream-server/elapsed_client.go @@ -16,9 +16,9 @@ import ( "github.com/go-openapi/runtime" httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/stream-server/client" - "github.com/go-swagger/go-swagger/examples/stream-server/client/operations" - "github.com/go-swagger/go-swagger/examples/stream-server/models" + "github.com/cloudentity/go-swagger/examples/stream-server/client" + "github.com/cloudentity/go-swagger/examples/stream-server/client/operations" + "github.com/cloudentity/go-swagger/examples/stream-server/models" ) func main() { diff --git a/examples/stream-server/restapi/configure_countdown.go b/examples/stream-server/restapi/configure_countdown.go index edb94338b..3668da23c 100644 --- a/examples/stream-server/restapi/configure_countdown.go +++ b/examples/stream-server/restapi/configure_countdown.go @@ -10,9 +10,9 @@ import ( errors "github.com/go-openapi/errors" runtime "github.com/go-openapi/runtime" middleware "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/stream-server/biz" + "github.com/cloudentity/go-swagger/examples/stream-server/biz" - "github.com/go-swagger/go-swagger/examples/stream-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/stream-server/restapi/operations" ) //go:generate swagger generate server --target .. --name Countdown --spec ../swagger.yml diff --git a/examples/stream-server/restapi/server.go b/examples/stream-server/restapi/server.go index 92c9784a2..f74f01365 100644 --- a/examples/stream-server/restapi/server.go +++ b/examples/stream-server/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/stream-server/restapi/operations" + "github.com/cloudentity/go-swagger/examples/stream-server/restapi/operations" ) const ( diff --git a/examples/task-tracker/client/task_tracker_client.go b/examples/task-tracker/client/task_tracker_client.go index e95f0d2a3..dae9db648 100644 --- a/examples/task-tracker/client/task_tracker_client.go +++ b/examples/task-tracker/client/task_tracker_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/client/tasks" + "github.com/cloudentity/go-swagger/examples/task-tracker/client/tasks" ) // Default task tracker HTTP client. diff --git a/examples/task-tracker/client/tasks/add_comment_to_task_responses.go b/examples/task-tracker/client/tasks/add_comment_to_task_responses.go index c90d77dc3..bc8438160 100644 --- a/examples/task-tracker/client/tasks/add_comment_to_task_responses.go +++ b/examples/task-tracker/client/tasks/add_comment_to_task_responses.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // AddCommentToTaskReader is a Reader for the AddCommentToTask structure. diff --git a/examples/task-tracker/client/tasks/create_task_parameters.go b/examples/task-tracker/client/tasks/create_task_parameters.go index 4ffefa685..829b018c1 100644 --- a/examples/task-tracker/client/tasks/create_task_parameters.go +++ b/examples/task-tracker/client/tasks/create_task_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // NewCreateTaskParams creates a new CreateTaskParams object, diff --git a/examples/task-tracker/client/tasks/create_task_responses.go b/examples/task-tracker/client/tasks/create_task_responses.go index 4be7dbc6b..828ffeddf 100644 --- a/examples/task-tracker/client/tasks/create_task_responses.go +++ b/examples/task-tracker/client/tasks/create_task_responses.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // CreateTaskReader is a Reader for the CreateTask structure. diff --git a/examples/task-tracker/client/tasks/delete_task_responses.go b/examples/task-tracker/client/tasks/delete_task_responses.go index 729d365ec..b6f6bfb1f 100644 --- a/examples/task-tracker/client/tasks/delete_task_responses.go +++ b/examples/task-tracker/client/tasks/delete_task_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // DeleteTaskReader is a Reader for the DeleteTask structure. diff --git a/examples/task-tracker/client/tasks/get_task_comments_responses.go b/examples/task-tracker/client/tasks/get_task_comments_responses.go index f294d1995..9f6ec0c07 100644 --- a/examples/task-tracker/client/tasks/get_task_comments_responses.go +++ b/examples/task-tracker/client/tasks/get_task_comments_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // GetTaskCommentsReader is a Reader for the GetTaskComments structure. diff --git a/examples/task-tracker/client/tasks/get_task_details_responses.go b/examples/task-tracker/client/tasks/get_task_details_responses.go index d2cde4873..327282258 100644 --- a/examples/task-tracker/client/tasks/get_task_details_responses.go +++ b/examples/task-tracker/client/tasks/get_task_details_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // GetTaskDetailsReader is a Reader for the GetTaskDetails structure. diff --git a/examples/task-tracker/client/tasks/list_tasks_responses.go b/examples/task-tracker/client/tasks/list_tasks_responses.go index 2f92c71f3..1215515b6 100644 --- a/examples/task-tracker/client/tasks/list_tasks_responses.go +++ b/examples/task-tracker/client/tasks/list_tasks_responses.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // ListTasksReader is a Reader for the ListTasks structure. diff --git a/examples/task-tracker/client/tasks/update_task_parameters.go b/examples/task-tracker/client/tasks/update_task_parameters.go index cfe8352d0..9b29d9c14 100644 --- a/examples/task-tracker/client/tasks/update_task_parameters.go +++ b/examples/task-tracker/client/tasks/update_task_parameters.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // NewUpdateTaskParams creates a new UpdateTaskParams object, diff --git a/examples/task-tracker/client/tasks/update_task_responses.go b/examples/task-tracker/client/tasks/update_task_responses.go index bda5bfe72..e05788881 100644 --- a/examples/task-tracker/client/tasks/update_task_responses.go +++ b/examples/task-tracker/client/tasks/update_task_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // UpdateTaskReader is a Reader for the UpdateTask structure. diff --git a/examples/task-tracker/client/tasks/upload_task_file_responses.go b/examples/task-tracker/client/tasks/upload_task_file_responses.go index 994154023..8428bd12f 100644 --- a/examples/task-tracker/client/tasks/upload_task_file_responses.go +++ b/examples/task-tracker/client/tasks/upload_task_file_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // UploadTaskFileReader is a Reader for the UploadTaskFile structure. diff --git a/examples/task-tracker/cmd/task-tracker-server/main.go b/examples/task-tracker/cmd/task-tracker-server/main.go index bcfd29aff..2713f3828 100644 --- a/examples/task-tracker/cmd/task-tracker-server/main.go +++ b/examples/task-tracker/cmd/task-tracker-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi/operations" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/task-tracker/restapi/configure_task_tracker.go b/examples/task-tracker/restapi/configure_task_tracker.go index 7c89e2577..e3b600e26 100644 --- a/examples/task-tracker/restapi/configure_task_tracker.go +++ b/examples/task-tracker/restapi/configure_task_tracker.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi/operations" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi/operations/tasks" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi/operations" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi/operations/tasks" ) //go:generate swagger generate server --target ../../task-tracker --name TaskTracker --spec ../swagger.yml --principal interface{} diff --git a/examples/task-tracker/restapi/operations/task_tracker_api.go b/examples/task-tracker/restapi/operations/task_tracker_api.go index 5157faaf4..9e90a1b87 100644 --- a/examples/task-tracker/restapi/operations/task_tracker_api.go +++ b/examples/task-tracker/restapi/operations/task_tracker_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi/operations/tasks" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi/operations/tasks" ) // NewTaskTrackerAPI creates a new TaskTracker instance diff --git a/examples/task-tracker/restapi/operations/tasks/add_comment_to_task_responses.go b/examples/task-tracker/restapi/operations/tasks/add_comment_to_task_responses.go index a55a15b35..c9fd581a3 100644 --- a/examples/task-tracker/restapi/operations/tasks/add_comment_to_task_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/add_comment_to_task_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // AddCommentToTaskCreatedCode is the HTTP code returned for type AddCommentToTaskCreated diff --git a/examples/task-tracker/restapi/operations/tasks/create_task_parameters.go b/examples/task-tracker/restapi/operations/tasks/create_task_parameters.go index 07b730d39..7e048b62b 100644 --- a/examples/task-tracker/restapi/operations/tasks/create_task_parameters.go +++ b/examples/task-tracker/restapi/operations/tasks/create_task_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // NewCreateTaskParams creates a new CreateTaskParams object diff --git a/examples/task-tracker/restapi/operations/tasks/create_task_responses.go b/examples/task-tracker/restapi/operations/tasks/create_task_responses.go index 1a358491e..959c0f461 100644 --- a/examples/task-tracker/restapi/operations/tasks/create_task_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/create_task_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // CreateTaskCreatedCode is the HTTP code returned for type CreateTaskCreated diff --git a/examples/task-tracker/restapi/operations/tasks/delete_task_responses.go b/examples/task-tracker/restapi/operations/tasks/delete_task_responses.go index f8ad6d6bb..7d0221ef3 100644 --- a/examples/task-tracker/restapi/operations/tasks/delete_task_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/delete_task_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // DeleteTaskNoContentCode is the HTTP code returned for type DeleteTaskNoContent diff --git a/examples/task-tracker/restapi/operations/tasks/get_task_comments_responses.go b/examples/task-tracker/restapi/operations/tasks/get_task_comments_responses.go index 3f9bbb8f0..996263256 100644 --- a/examples/task-tracker/restapi/operations/tasks/get_task_comments_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/get_task_comments_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // GetTaskCommentsOKCode is the HTTP code returned for type GetTaskCommentsOK diff --git a/examples/task-tracker/restapi/operations/tasks/get_task_details_responses.go b/examples/task-tracker/restapi/operations/tasks/get_task_details_responses.go index 3099d41f9..96169600f 100644 --- a/examples/task-tracker/restapi/operations/tasks/get_task_details_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/get_task_details_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // GetTaskDetailsOKCode is the HTTP code returned for type GetTaskDetailsOK diff --git a/examples/task-tracker/restapi/operations/tasks/list_tasks_responses.go b/examples/task-tracker/restapi/operations/tasks/list_tasks_responses.go index 18a33dc79..4f65a6811 100644 --- a/examples/task-tracker/restapi/operations/tasks/list_tasks_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/list_tasks_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // ListTasksOKCode is the HTTP code returned for type ListTasksOK diff --git a/examples/task-tracker/restapi/operations/tasks/update_task_parameters.go b/examples/task-tracker/restapi/operations/tasks/update_task_parameters.go index c6b1c4e2b..cae6438e6 100644 --- a/examples/task-tracker/restapi/operations/tasks/update_task_parameters.go +++ b/examples/task-tracker/restapi/operations/tasks/update_task_parameters.go @@ -17,7 +17,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // NewUpdateTaskParams creates a new UpdateTaskParams object diff --git a/examples/task-tracker/restapi/operations/tasks/update_task_responses.go b/examples/task-tracker/restapi/operations/tasks/update_task_responses.go index 6b2042634..72d063800 100644 --- a/examples/task-tracker/restapi/operations/tasks/update_task_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/update_task_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // UpdateTaskOKCode is the HTTP code returned for type UpdateTaskOK diff --git a/examples/task-tracker/restapi/operations/tasks/upload_task_file_responses.go b/examples/task-tracker/restapi/operations/tasks/upload_task_file_responses.go index 61b90a3b5..81a8ba5fb 100644 --- a/examples/task-tracker/restapi/operations/tasks/upload_task_file_responses.go +++ b/examples/task-tracker/restapi/operations/tasks/upload_task_file_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/task-tracker/models" + "github.com/cloudentity/go-swagger/examples/task-tracker/models" ) // UploadTaskFileCreatedCode is the HTTP code returned for type UploadTaskFileCreated diff --git a/examples/task-tracker/restapi/server.go b/examples/task-tracker/restapi/server.go index a5f48e81d..9b2bf3fc8 100644 --- a/examples/task-tracker/restapi/server.go +++ b/examples/task-tracker/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/task-tracker/restapi/operations" + "github.com/cloudentity/go-swagger/examples/task-tracker/restapi/operations" ) const ( diff --git a/examples/todo-list-strict/client/todo_list_client.go b/examples/todo-list-strict/client/todo_list_client.go index dae78ae47..120d4c08e 100644 --- a/examples/todo-list-strict/client/todo_list_client.go +++ b/examples/todo-list-strict/client/todo_list_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/client/todos" + "github.com/cloudentity/go-swagger/examples/todo-list/client/todos" ) // Default todo list HTTP client. diff --git a/examples/todo-list-strict/client/todos/add_one_parameters.go b/examples/todo-list-strict/client/todos/add_one_parameters.go index d3c23533e..2c141fca3 100644 --- a/examples/todo-list-strict/client/todos/add_one_parameters.go +++ b/examples/todo-list-strict/client/todos/add_one_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/todo-list-strict/client/todos/add_one_responses.go b/examples/todo-list-strict/client/todos/add_one_responses.go index 12dfc8b83..649d38c46 100644 --- a/examples/todo-list-strict/client/todos/add_one_responses.go +++ b/examples/todo-list-strict/client/todos/add_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // AddOneReader is a Reader for the AddOne structure. diff --git a/examples/todo-list-strict/client/todos/destroy_one_responses.go b/examples/todo-list-strict/client/todos/destroy_one_responses.go index 30a83fe3a..b2f652ea7 100644 --- a/examples/todo-list-strict/client/todos/destroy_one_responses.go +++ b/examples/todo-list-strict/client/todos/destroy_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // DestroyOneReader is a Reader for the DestroyOne structure. diff --git a/examples/todo-list-strict/client/todos/find_responses.go b/examples/todo-list-strict/client/todos/find_responses.go index 183b88741..7fdc4b9a6 100644 --- a/examples/todo-list-strict/client/todos/find_responses.go +++ b/examples/todo-list-strict/client/todos/find_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // FindReader is a Reader for the Find structure. diff --git a/examples/todo-list-strict/client/todos/update_one_parameters.go b/examples/todo-list-strict/client/todos/update_one_parameters.go index 4253ee7ce..cfad4b156 100644 --- a/examples/todo-list-strict/client/todos/update_one_parameters.go +++ b/examples/todo-list-strict/client/todos/update_one_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/todo-list-strict/client/todos/update_one_responses.go b/examples/todo-list-strict/client/todos/update_one_responses.go index f009fe42d..f3d2c7be5 100644 --- a/examples/todo-list-strict/client/todos/update_one_responses.go +++ b/examples/todo-list-strict/client/todos/update_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // UpdateOneReader is a Reader for the UpdateOne structure. diff --git a/examples/todo-list-strict/cmd/todo-list-server/main.go b/examples/todo-list-strict/cmd/todo-list-server/main.go index b41bad23c..74bce3e12 100644 --- a/examples/todo-list-strict/cmd/todo-list-server/main.go +++ b/examples/todo-list-strict/cmd/todo-list-server/main.go @@ -7,8 +7,8 @@ import ( "os" "github.com/go-openapi/loads" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi/operations" flags "github.com/jessevdk/go-flags" ) diff --git a/examples/todo-list-strict/restapi/configure_todo_list.go b/examples/todo-list-strict/restapi/configure_todo_list.go index 24df055c9..f055471c5 100644 --- a/examples/todo-list-strict/restapi/configure_todo_list.go +++ b/examples/todo-list-strict/restapi/configure_todo_list.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/errors" "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi/operations" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi/operations/todos" ) //go:generate swagger generate server --target ../../todo-list-strict --name TodoList --spec ../swagger.yml --strict-responders diff --git a/examples/todo-list-strict/restapi/operations/todo_list_api.go b/examples/todo-list-strict/restapi/operations/todo_list_api.go index c3dd5a642..c5e963542 100644 --- a/examples/todo-list-strict/restapi/operations/todo_list_api.go +++ b/examples/todo-list-strict/restapi/operations/todo_list_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi/operations/todos" ) // NewTodoListAPI creates a new TodoList instance diff --git a/examples/todo-list-strict/restapi/operations/todos/add_one_parameters.go b/examples/todo-list-strict/restapi/operations/todos/add_one_parameters.go index eb31b276e..7c1fc2e98 100644 --- a/examples/todo-list-strict/restapi/operations/todos/add_one_parameters.go +++ b/examples/todo-list-strict/restapi/operations/todos/add_one_parameters.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/todo-list-strict/restapi/operations/todos/add_one_responses.go b/examples/todo-list-strict/restapi/operations/todos/add_one_responses.go index 7406d9130..d290736c3 100644 --- a/examples/todo-list-strict/restapi/operations/todos/add_one_responses.go +++ b/examples/todo-list-strict/restapi/operations/todos/add_one_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // AddOneCreatedCode is the HTTP code returned for type AddOneCreated diff --git a/examples/todo-list-strict/restapi/operations/todos/destroy_one_responses.go b/examples/todo-list-strict/restapi/operations/todos/destroy_one_responses.go index 729e37cf3..bd0d2f793 100644 --- a/examples/todo-list-strict/restapi/operations/todos/destroy_one_responses.go +++ b/examples/todo-list-strict/restapi/operations/todos/destroy_one_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent diff --git a/examples/todo-list-strict/restapi/operations/todos/find_responses.go b/examples/todo-list-strict/restapi/operations/todos/find_responses.go index fdcf0bc2c..f113496e4 100644 --- a/examples/todo-list-strict/restapi/operations/todos/find_responses.go +++ b/examples/todo-list-strict/restapi/operations/todos/find_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // FindOKCode is the HTTP code returned for type FindOK diff --git a/examples/todo-list-strict/restapi/operations/todos/update_one_parameters.go b/examples/todo-list-strict/restapi/operations/todos/update_one_parameters.go index 51fbe3ea1..b26160e5b 100644 --- a/examples/todo-list-strict/restapi/operations/todos/update_one_parameters.go +++ b/examples/todo-list-strict/restapi/operations/todos/update_one_parameters.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/todo-list-strict/restapi/operations/todos/update_one_responses.go b/examples/todo-list-strict/restapi/operations/todos/update_one_responses.go index 060d04a15..cf59ec5f0 100644 --- a/examples/todo-list-strict/restapi/operations/todos/update_one_responses.go +++ b/examples/todo-list-strict/restapi/operations/todos/update_one_responses.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/models" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/models" ) // UpdateOneOKCode is the HTTP code returned for type UpdateOneOK diff --git a/examples/todo-list-strict/restapi/server.go b/examples/todo-list-strict/restapi/server.go index e95cbcacf..fda50417e 100644 --- a/examples/todo-list-strict/restapi/server.go +++ b/examples/todo-list-strict/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/todo-list-strict/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list-strict/restapi/operations" ) const ( diff --git a/examples/todo-list/client/todo_list_client.go b/examples/todo-list/client/todo_list_client.go index dae78ae47..120d4c08e 100644 --- a/examples/todo-list/client/todo_list_client.go +++ b/examples/todo-list/client/todo_list_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/client/todos" + "github.com/cloudentity/go-swagger/examples/todo-list/client/todos" ) // Default todo list HTTP client. diff --git a/examples/todo-list/client/todos/add_one_parameters.go b/examples/todo-list/client/todos/add_one_parameters.go index 2897eea47..e738a2739 100644 --- a/examples/todo-list/client/todos/add_one_parameters.go +++ b/examples/todo-list/client/todos/add_one_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewAddOneParams creates a new AddOneParams object, diff --git a/examples/todo-list/client/todos/add_one_responses.go b/examples/todo-list/client/todos/add_one_responses.go index 65430fa21..970a16695 100644 --- a/examples/todo-list/client/todos/add_one_responses.go +++ b/examples/todo-list/client/todos/add_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // AddOneReader is a Reader for the AddOne structure. diff --git a/examples/todo-list/client/todos/destroy_one_responses.go b/examples/todo-list/client/todos/destroy_one_responses.go index 15622c1f4..f3f39daeb 100644 --- a/examples/todo-list/client/todos/destroy_one_responses.go +++ b/examples/todo-list/client/todos/destroy_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // DestroyOneReader is a Reader for the DestroyOne structure. diff --git a/examples/todo-list/client/todos/find_responses.go b/examples/todo-list/client/todos/find_responses.go index 5336962a1..020c91603 100644 --- a/examples/todo-list/client/todos/find_responses.go +++ b/examples/todo-list/client/todos/find_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // FindReader is a Reader for the Find structure. diff --git a/examples/todo-list/client/todos/update_one_parameters.go b/examples/todo-list/client/todos/update_one_parameters.go index e2cd80400..8cbf9f8c5 100644 --- a/examples/todo-list/client/todos/update_one_parameters.go +++ b/examples/todo-list/client/todos/update_one_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewUpdateOneParams creates a new UpdateOneParams object, diff --git a/examples/todo-list/client/todos/update_one_responses.go b/examples/todo-list/client/todos/update_one_responses.go index f87b8a86b..b72b905aa 100644 --- a/examples/todo-list/client/todos/update_one_responses.go +++ b/examples/todo-list/client/todos/update_one_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // UpdateOneReader is a Reader for the UpdateOne structure. diff --git a/examples/todo-list/cmd/todo-list-server/main.go b/examples/todo-list/cmd/todo-list-server/main.go index 066b2082d..e8fe0e33d 100644 --- a/examples/todo-list/cmd/todo-list-server/main.go +++ b/examples/todo-list/cmd/todo-list-server/main.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/loads" flag "github.com/spf13/pflag" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/todo-list/restapi/configure_todo_list.go b/examples/todo-list/restapi/configure_todo_list.go index 3ed2dc005..dbcb346a9 100644 --- a/examples/todo-list/restapi/configure_todo_list.go +++ b/examples/todo-list/restapi/configure_todo_list.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi/operations" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi/operations/todos" ) //go:generate swagger generate server --target ../../todo-list --name TodoList --spec ../swagger.yml --principal interface{} diff --git a/examples/todo-list/restapi/operations/todo_list_api.go b/examples/todo-list/restapi/operations/todo_list_api.go index 560346df2..475fb38bd 100644 --- a/examples/todo-list/restapi/operations/todo_list_api.go +++ b/examples/todo-list/restapi/operations/todo_list_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi/operations/todos" ) // NewTodoListAPI creates a new TodoList instance diff --git a/examples/todo-list/restapi/operations/todos/add_one_parameters.go b/examples/todo-list/restapi/operations/todos/add_one_parameters.go index 01485ba77..6a41ebc63 100644 --- a/examples/todo-list/restapi/operations/todos/add_one_parameters.go +++ b/examples/todo-list/restapi/operations/todos/add_one_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/todo-list/restapi/operations/todos/add_one_responses.go b/examples/todo-list/restapi/operations/todos/add_one_responses.go index e2a74b791..fb883dd5d 100644 --- a/examples/todo-list/restapi/operations/todos/add_one_responses.go +++ b/examples/todo-list/restapi/operations/todos/add_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // AddOneCreatedCode is the HTTP code returned for type AddOneCreated diff --git a/examples/todo-list/restapi/operations/todos/destroy_one_responses.go b/examples/todo-list/restapi/operations/todos/destroy_one_responses.go index bb0a25887..c54d210e4 100644 --- a/examples/todo-list/restapi/operations/todos/destroy_one_responses.go +++ b/examples/todo-list/restapi/operations/todos/destroy_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent diff --git a/examples/todo-list/restapi/operations/todos/find_responses.go b/examples/todo-list/restapi/operations/todos/find_responses.go index 68412129f..c66d6114b 100644 --- a/examples/todo-list/restapi/operations/todos/find_responses.go +++ b/examples/todo-list/restapi/operations/todos/find_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // FindOKCode is the HTTP code returned for type FindOK diff --git a/examples/todo-list/restapi/operations/todos/update_one_parameters.go b/examples/todo-list/restapi/operations/todos/update_one_parameters.go index 6d4a7653a..0ee62ace9 100644 --- a/examples/todo-list/restapi/operations/todos/update_one_parameters.go +++ b/examples/todo-list/restapi/operations/todos/update_one_parameters.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/todo-list/restapi/operations/todos/update_one_responses.go b/examples/todo-list/restapi/operations/todos/update_one_responses.go index c78a82911..ff1c0506a 100644 --- a/examples/todo-list/restapi/operations/todos/update_one_responses.go +++ b/examples/todo-list/restapi/operations/todos/update_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/todo-list/models" + "github.com/cloudentity/go-swagger/examples/todo-list/models" ) // UpdateOneOKCode is the HTTP code returned for type UpdateOneOK diff --git a/examples/todo-list/restapi/server.go b/examples/todo-list/restapi/server.go index e090ab363..17afa003c 100644 --- a/examples/todo-list/restapi/server.go +++ b/examples/todo-list/restapi/server.go @@ -24,7 +24,7 @@ import ( flag "github.com/spf13/pflag" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/todo-list/restapi/operations" + "github.com/cloudentity/go-swagger/examples/todo-list/restapi/operations" ) const ( diff --git a/examples/tutorials/custom-server/README.md b/examples/tutorials/custom-server/README.md index 28cc34980..320224515 100644 --- a/examples/tutorials/custom-server/README.md +++ b/examples/tutorials/custom-server/README.md @@ -22,5 +22,5 @@ $ http get :3000/hello # returns 'Hello, World!' $ http get :3000/hello name==Swagger # returns 'Hello, Swagger!' ``` -[swagger]: https://github.com/go-swagger/go-swagger +[swagger]: https://github.com/cloudentity/go-swagger [httpie]:https://httpie.org diff --git a/examples/tutorials/custom-server/cmd/greeter/main.go b/examples/tutorials/custom-server/cmd/greeter/main.go index 5689f92d9..4ac54215a 100644 --- a/examples/tutorials/custom-server/cmd/greeter/main.go +++ b/examples/tutorials/custom-server/cmd/greeter/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/tutorials/custom-server/gen/restapi" - "github.com/go-swagger/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/custom-server/gen/restapi" + "github.com/cloudentity/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" ) var portFlag = flag.Int("port", 3000, "Port to run this service on") diff --git a/examples/tutorials/custom-server/gen/restapi/configure_greeter.go b/examples/tutorials/custom-server/gen/restapi/configure_greeter.go index d6ccca1f3..3afad015a 100644 --- a/examples/tutorials/custom-server/gen/restapi/configure_greeter.go +++ b/examples/tutorials/custom-server/gen/restapi/configure_greeter.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" ) //go:generate swagger generate server --target ../../gen --name Greeter --spec ../../swagger/swagger.yml --principal interface{} --exclude-main diff --git a/examples/tutorials/custom-server/gen/restapi/server.go b/examples/tutorials/custom-server/gen/restapi/server.go index 787a6c0c4..f5484fa30 100644 --- a/examples/tutorials/custom-server/gen/restapi/server.go +++ b/examples/tutorials/custom-server/gen/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/custom-server/gen/restapi/operations" ) const ( diff --git a/examples/tutorials/todo-list/server-1/cmd/todo-list-server/main.go b/examples/tutorials/todo-list/server-1/cmd/todo-list-server/main.go index f4a94aa7a..9eddafda9 100644 --- a/examples/tutorials/todo-list/server-1/cmd/todo-list-server/main.go +++ b/examples/tutorials/todo-list/server-1/cmd/todo-list-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/tutorials/todo-list/server-1/restapi/configure_todo_list.go b/examples/tutorials/todo-list/server-1/restapi/configure_todo_list.go index 407963e54..cb631bb5c 100644 --- a/examples/tutorials/todo-list/server-1/restapi/configure_todo_list.go +++ b/examples/tutorials/todo-list/server-1/restapi/configure_todo_list.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations/todos" ) //go:generate swagger generate server --target ../../server-1 --name TodoList --spec ../swagger.yml --principal interface{} diff --git a/examples/tutorials/todo-list/server-1/restapi/operations/todo_list_api.go b/examples/tutorials/todo-list/server-1/restapi/operations/todo_list_api.go index 2c0b360c3..4f3772cfa 100644 --- a/examples/tutorials/todo-list/server-1/restapi/operations/todo_list_api.go +++ b/examples/tutorials/todo-list/server-1/restapi/operations/todo_list_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations/todos" ) // NewTodoListAPI creates a new TodoList instance diff --git a/examples/tutorials/todo-list/server-1/restapi/operations/todos/find_todos_responses.go b/examples/tutorials/todo-list/server-1/restapi/operations/todos/find_todos_responses.go index 5505d5ff9..e12b3edf2 100644 --- a/examples/tutorials/todo-list/server-1/restapi/operations/todos/find_todos_responses.go +++ b/examples/tutorials/todo-list/server-1/restapi/operations/todos/find_todos_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/models" ) // FindTodosOKCode is the HTTP code returned for type FindTodosOK diff --git a/examples/tutorials/todo-list/server-1/restapi/server.go b/examples/tutorials/todo-list/server-1/restapi/server.go index 46230feee..0a9b93662 100644 --- a/examples/tutorials/todo-list/server-1/restapi/server.go +++ b/examples/tutorials/todo-list/server-1/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-1/restapi/operations" ) const ( diff --git a/examples/tutorials/todo-list/server-2/cmd/todo-list-server/main.go b/examples/tutorials/todo-list/server-2/cmd/todo-list-server/main.go index 44c73acd8..c11d9ecd5 100644 --- a/examples/tutorials/todo-list/server-2/cmd/todo-list-server/main.go +++ b/examples/tutorials/todo-list/server-2/cmd/todo-list-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/tutorials/todo-list/server-2/restapi/configure_todo_list.go b/examples/tutorials/todo-list/server-2/restapi/configure_todo_list.go index 35a8e1cbb..cb1d89bb8 100644 --- a/examples/tutorials/todo-list/server-2/restapi/configure_todo_list.go +++ b/examples/tutorials/todo-list/server-2/restapi/configure_todo_list.go @@ -10,8 +10,8 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations/todos" ) //go:generate swagger generate server --target ../../server-2 --name TodoList --spec ../swagger.yml --principal interface{} diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todo_list_api.go b/examples/tutorials/todo-list/server-2/restapi/operations/todo_list_api.go index 39a3385da..2d0444b68 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todo_list_api.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todo_list_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations/todos" ) // NewTodoListAPI creates a new TodoList instance diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_parameters.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_parameters.go index e26682890..263fe486d 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_parameters.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_responses.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_responses.go index b19ad2771..308705ea0 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_responses.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/add_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // AddOneCreatedCode is the HTTP code returned for type AddOneCreated diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/destroy_one_responses.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/destroy_one_responses.go index d964e9539..192a6ac80 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/destroy_one_responses.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/destroy_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/find_todos_responses.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/find_todos_responses.go index 462cc5169..c5bb63ec0 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/find_todos_responses.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/find_todos_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // FindTodosOKCode is the HTTP code returned for type FindTodosOK diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_parameters.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_parameters.go index 390a7b7d2..0e563ae86 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_parameters.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_parameters.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_responses.go b/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_responses.go index 4799aa752..707ab5024 100644 --- a/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_responses.go +++ b/examples/tutorials/todo-list/server-2/restapi/operations/todos/update_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/models" ) // UpdateOneOKCode is the HTTP code returned for type UpdateOneOK diff --git a/examples/tutorials/todo-list/server-2/restapi/server.go b/examples/tutorials/todo-list/server-2/restapi/server.go index 95f7e462a..a338d9581 100644 --- a/examples/tutorials/todo-list/server-2/restapi/server.go +++ b/examples/tutorials/todo-list/server-2/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-2/restapi/operations" ) const ( diff --git a/examples/tutorials/todo-list/server-complete/cmd/todo-list-server/main.go b/examples/tutorials/todo-list/server-complete/cmd/todo-list-server/main.go index fc3aa75e0..ec4026766 100644 --- a/examples/tutorials/todo-list/server-complete/cmd/todo-list-server/main.go +++ b/examples/tutorials/todo-list/server-complete/cmd/todo-list-server/main.go @@ -9,8 +9,8 @@ import ( "github.com/go-openapi/loads" flags "github.com/jessevdk/go-flags" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" ) // This file was generated by the swagger tool. diff --git a/examples/tutorials/todo-list/server-complete/restapi/configure_todo_list.go b/examples/tutorials/todo-list/server-complete/restapi/configure_todo_list.go index cb4f49489..1ae535d6d 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/configure_todo_list.go +++ b/examples/tutorials/todo-list/server-complete/restapi/configure_todo_list.go @@ -14,9 +14,9 @@ import ( middleware "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations/todos" ) // This file is safe to edit. Once it exists it will not be overwritten diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todo_list_api.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todo_list_api.go index 71417cacf..726279b34 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todo_list_api.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todo_list_api.go @@ -19,7 +19,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations/todos" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations/todos" ) // NewTodoListAPI creates a new TodoList instance diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_parameters.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_parameters.go index b25a246e3..aecb175ee 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_parameters.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_parameters.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/runtime/middleware" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // NewAddOneParams creates a new AddOneParams object diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_responses.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_responses.go index 63dd58ccd..b1b8a3cca 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_responses.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/add_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // AddOneCreatedCode is the HTTP code returned for type AddOneCreated diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/destroy_one_responses.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/destroy_one_responses.go index 89b50fcbf..17aa2619c 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/destroy_one_responses.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/destroy_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/find_todos_responses.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/find_todos_responses.go index af8141065..7462145b1 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/find_todos_responses.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/find_todos_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // FindTodosOKCode is the HTTP code returned for type FindTodosOK diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_parameters.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_parameters.go index 3ba0e44e3..a65fa1540 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_parameters.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_parameters.go @@ -16,7 +16,7 @@ import ( "github.com/go-openapi/swag" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // NewUpdateOneParams creates a new UpdateOneParams object diff --git a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_responses.go b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_responses.go index 9f702a7b2..09a389176 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_responses.go +++ b/examples/tutorials/todo-list/server-complete/restapi/operations/todos/update_one_responses.go @@ -10,7 +10,7 @@ import ( "github.com/go-openapi/runtime" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/models" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/models" ) // UpdateOneOKCode is the HTTP code returned for type UpdateOneOK diff --git a/examples/tutorials/todo-list/server-complete/restapi/server.go b/examples/tutorials/todo-list/server-complete/restapi/server.go index 17d88b212..c85921a46 100644 --- a/examples/tutorials/todo-list/server-complete/restapi/server.go +++ b/examples/tutorials/todo-list/server-complete/restapi/server.go @@ -24,7 +24,7 @@ import ( flags "github.com/jessevdk/go-flags" "golang.org/x/net/netutil" - "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" + "github.com/cloudentity/go-swagger/examples/tutorials/todo-list/server-complete/restapi/operations" ) const ( diff --git a/fixtures/bugs/1042/pet_test.go b/fixtures/bugs/1042/pet_test.go index d7509848f..8d57e7dba 100644 --- a/fixtures/bugs/1042/pet_test.go +++ b/fixtures/bugs/1042/pet_test.go @@ -13,11 +13,11 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" "github.com/stretchr/testify/assert" ) -//"github.com/go-swagger/go-swagger/fixtures/bugs/1232/gen-fixture-1232/mode" +//"github.com/cloudentity/go-swagger/fixtures/bugs/1232/gen-fixture-1232/mode" func Test_Pet(t *testing.T) { base := "pet-data" diff --git a/fixtures/bugs/1084/unmarshal_test.gol b/fixtures/bugs/1084/unmarshal_test.gol index 8b74ecce8..3723d386e 100644 --- a/fixtures/bugs/1084/unmarshal_test.gol +++ b/fixtures/bugs/1084/unmarshal_test.gol @@ -7,7 +7,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/stretchr/testify/assert" - model "github.com/go-swagger/go-swagger/fixtures/bugs/1084/gen-fixture-1084/models" + model "github.com/cloudentity/go-swagger/fixtures/bugs/1084/gen-fixture-1084/models" ) func Test_Datetime(t *testing.T) { diff --git a/fixtures/bugs/1232/discriminatedMarshalling_test.go b/fixtures/bugs/1232/discriminatedMarshalling_test.go index 825e99785..29973d0e9 100644 --- a/fixtures/bugs/1232/discriminatedMarshalling_test.go +++ b/fixtures/bugs/1232/discriminatedMarshalling_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" "github.com/stretchr/testify/assert" ) diff --git a/fixtures/bugs/1232/pet_test.go b/fixtures/bugs/1232/pet_test.go index d7509848f..8d57e7dba 100644 --- a/fixtures/bugs/1232/pet_test.go +++ b/fixtures/bugs/1232/pet_test.go @@ -13,11 +13,11 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/1232/gen-fixture-1232/models" "github.com/stretchr/testify/assert" ) -//"github.com/go-swagger/go-swagger/fixtures/bugs/1232/gen-fixture-1232/mode" +//"github.com/cloudentity/go-swagger/fixtures/bugs/1232/gen-fixture-1232/mode" func Test_Pet(t *testing.T) { base := "pet-data" diff --git a/fixtures/bugs/1472/middleware_test.go b/fixtures/bugs/1472/middleware_test.go index ff497c688..dedcd6482 100644 --- a/fixtures/bugs/1472/middleware_test.go +++ b/fixtures/bugs/1472/middleware_test.go @@ -14,9 +14,9 @@ import ( "github.com/go-openapi/loads" "github.com/go-openapi/runtime/middleware" - "github.com/go-swagger/go-swagger/fixtures/bugs/1472/restapi" - "github.com/go-swagger/go-swagger/fixtures/bugs/1472/restapi/operations" - "github.com/go-swagger/go-swagger/fixtures/bugs/1472/restapi/operations/ops" + "github.com/cloudentity/go-swagger/fixtures/bugs/1472/restapi" + "github.com/cloudentity/go-swagger/fixtures/bugs/1472/restapi/operations" + "github.com/cloudentity/go-swagger/fixtures/bugs/1472/restapi/operations/ops" ) type User struct { diff --git a/fixtures/bugs/1548/base64Thing_test.go b/fixtures/bugs/1548/base64Thing_test.go index e3b03b1fb..0efee638a 100644 --- a/fixtures/bugs/1548/base64Thing_test.go +++ b/fixtures/bugs/1548/base64Thing_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/bugs/1548/gen-fixture-1548/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/1548/gen-fixture-1548/models" "github.com/stretchr/testify/assert" ) diff --git a/fixtures/bugs/1571/tupleThing_test.go b/fixtures/bugs/1571/tupleThing_test.go index 318163745..8c5663fbe 100644 --- a/fixtures/bugs/1571/tupleThing_test.go +++ b/fixtures/bugs/1571/tupleThing_test.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/spec" "github.com/go-openapi/strfmt" "github.com/go-openapi/validate" - "github.com/go-swagger/go-swagger/fixtures/bugs/1571/gen-fixture-simple-tuple-minimal/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/1571/gen-fixture-simple-tuple-minimal/models" "github.com/stretchr/testify/assert" ) diff --git a/fixtures/bugs/1719/fixture-1719.yaml b/fixtures/bugs/1719/fixture-1719.yaml index bba981524..b261d4aaf 100644 --- a/fixtures/bugs/1719/fixture-1719.yaml +++ b/fixtures/bugs/1719/fixture-1719.yaml @@ -69,7 +69,7 @@ definitions: type: ExtUser import: alias: myalias0 - package: 'github.com/go-swagger/go-swagger/fixtures/bugs/1719/pkg/models' + package: 'github.com/cloudentity/go-swagger/fixtures/bugs/1719/pkg/models' Users: type: array items: @@ -82,7 +82,7 @@ definitions: type: ExtUsersArrayRef import: alias: myalias1 - package: 'github.com/go-swagger/go-swagger/fixtures/bugs/1719/pkg/models' + package: 'github.com/cloudentity/go-swagger/fixtures/bugs/1719/pkg/models' UsersArrayFlat: type: array items: @@ -96,14 +96,14 @@ definitions: type: ExtUsersArrayFlat import: alias: myalias2 - package: 'github.com/go-swagger/go-swagger/fixtures/bugs/1719/pkg/models' + package: 'github.com/cloudentity/go-swagger/fixtures/bugs/1719/pkg/models' UserObjectRef: $ref: '#/definitions/User' x-go-type: type: ExtUser import: alias: myalias3 - package: 'github.com/go-swagger/go-swagger/fixtures/bugs/1719/pkg/models2' + package: 'github.com/cloudentity/go-swagger/fixtures/bugs/1719/pkg/models2' UserObjectFlat: type: object properties: @@ -115,4 +115,4 @@ definitions: type: ExtUser import: alias: myalias4 - package: 'github.com/go-swagger/go-swagger/fixtures/bugs/1719/pkg/models2' + package: 'github.com/cloudentity/go-swagger/fixtures/bugs/1719/pkg/models2' diff --git a/fixtures/bugs/1897/fixture-1897.yaml b/fixtures/bugs/1897/fixture-1897.yaml index da4fed49b..a9d0e7092 100644 --- a/fixtures/bugs/1897/fixture-1897.yaml +++ b/fixtures/bugs/1897/fixture-1897.yaml @@ -70,6 +70,6 @@ definitions: x-go-type: type: Error import: - package: github.com/go-swagger/go-swagger/fixtures/bugs/1897/external + package: github.com/cloudentity/go-swagger/fixtures/bugs/1897/external alias: swaggermodels diff --git a/fixtures/bugs/1943/datarace_test.go b/fixtures/bugs/1943/datarace_test.go index a0f520d37..700c0102c 100644 --- a/fixtures/bugs/1943/datarace_test.go +++ b/fixtures/bugs/1943/datarace_test.go @@ -9,8 +9,8 @@ import ( "time" "github.com/go-openapi/loads" - "github.com/go-swagger/go-swagger/fixtures/bugs/1943/restapi" - "github.com/go-swagger/go-swagger/fixtures/bugs/1943/restapi/operations" + "github.com/cloudentity/go-swagger/fixtures/bugs/1943/restapi" + "github.com/cloudentity/go-swagger/fixtures/bugs/1943/restapi/operations" ) func Test_DataRace(t *testing.T) { diff --git a/fixtures/bugs/2362/gen-fixtures.sh b/fixtures/bugs/2362/gen-fixtures.sh index bcf6b6ec4..da502adae 100755 --- a/fixtures/bugs/2362/gen-fixtures.sh +++ b/fixtures/bugs/2362/gen-fixtures.sh @@ -4,7 +4,7 @@ swagger generate server \ --spec fixture-2362.yaml \ --target case1 \ --model-package restapi/models \ - --principal github.com/go-swagger/go-swagger/fixtures/bugs/2362/case1/restapi/models.Principal \ + --principal github.com/cloudentity/go-swagger/fixtures/bugs/2362/case1/restapi/models.Principal \ --exclude-main \ --name data-updater printf "package models\n\ntype Principal struct{}" >> case1/restapi/models/principal.go diff --git a/fixtures/bugs/2471/fixture-2471.yaml b/fixtures/bugs/2471/fixture-2471.yaml index 27d0623fe..d4195763f 100644 --- a/fixtures/bugs/2471/fixture-2471.yaml +++ b/fixtures/bugs/2471/fixture-2471.yaml @@ -5,7 +5,7 @@ info: version: 0.1.0 title: Reproducer description: | - Reproducer for https://github.com/go-swagger/go-swagger/issues/2471 + Reproducer for https://github.com/cloudentity/go-swagger/issues/2471 consumes: - application/json produces: diff --git a/fixtures/bugs/910/required_interface_test.go b/fixtures/bugs/910/required_interface_test.go index 303372689..adee0d063 100644 --- a/fixtures/bugs/910/required_interface_test.go +++ b/fixtures/bugs/910/required_interface_test.go @@ -8,7 +8,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/go-swagger/go-swagger/fixtures/bugs/910/gen-fixture-910/models" + "github.com/cloudentity/go-swagger/fixtures/bugs/910/gen-fixture-910/models" "github.com/stretchr/testify/assert" ) diff --git a/fixtures/bugs/981/swagger.json b/fixtures/bugs/981/swagger.json index 7e0d4f06c..e064b8185 100644 --- a/fixtures/bugs/981/swagger.json +++ b/fixtures/bugs/981/swagger.json @@ -27,7 +27,7 @@ "x-go-name": "Type" } }, - "x-go-package": "github.com/go-swagger/go-swagger/fixtures/bugs/981" + "x-go-package": "github.com/cloudentity/go-swagger/fixtures/bugs/981" } } } diff --git a/fixtures/enhancements/184/fixture-184.yaml b/fixtures/enhancements/184/fixture-184.yaml index d0549836b..d597740c3 100644 --- a/fixtures/enhancements/184/fixture-184.yaml +++ b/fixtures/enhancements/184/fixture-184.yaml @@ -13,7 +13,7 @@ info: url: http://www.apache.org/licenses/LICENSE-2.0.html contact: name: fred - url: https://github.com/go-swagger/go-swagger + url: https://github.com/cloudentity/go-swagger email: fred@example.com externalDocs: diff --git a/fixtures/enhancements/2224/fixture-2224.yaml b/fixtures/enhancements/2224/fixture-2224.yaml index 8fbb84561..7cd7f437f 100644 --- a/fixtures/enhancements/2224/fixture-2224.yaml +++ b/fixtures/enhancements/2224/fixture-2224.yaml @@ -54,7 +54,7 @@ definitions: x-go-type: type: Hotspot import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external hints: kind: object x-nullable: true @@ -64,14 +64,14 @@ definitions: x-go-type: type: Hotspot import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external x-nullable: true ExternalArray: x-go-type: type: HotArray import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external hints: kind: array x-nullable: true @@ -83,14 +83,14 @@ definitions: x-go-type: type: HotArray import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external x-nullable: true ExternalPrimitive: x-go-type: type: Time import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external hints: kind: primitive novalidation: true @@ -100,7 +100,7 @@ definitions: x-go-type: type: Hotspot import: - package: github.com/go-swagger/go-swagger/fixtures/enhancements/2224/external + package: github.com/cloudentity/go-swagger/fixtures/enhancements/2224/external hints: kind: object embedded: true diff --git a/fixtures/goparsing/classification/models/extranomodel.go b/fixtures/goparsing/classification/models/extranomodel.go index e160c2509..c1cb95bc4 100644 --- a/fixtures/goparsing/classification/models/extranomodel.go +++ b/fixtures/goparsing/classification/models/extranomodel.go @@ -19,7 +19,7 @@ import ( "time" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" ) // A Something struct is used by other structs diff --git a/fixtures/goparsing/classification/models/nomodel.go b/fixtures/goparsing/classification/models/nomodel.go index d6a966fbe..d06380a3f 100644 --- a/fixtures/goparsing/classification/models/nomodel.go +++ b/fixtures/goparsing/classification/models/nomodel.go @@ -19,7 +19,7 @@ import ( "time" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" ) // NoModel is a struct without an annotation. diff --git a/fixtures/goparsing/classification/models/order.go b/fixtures/goparsing/classification/models/order.go index 5b854307f..0904b3fda 100644 --- a/fixtures/goparsing/classification/models/order.go +++ b/fixtures/goparsing/classification/models/order.go @@ -17,7 +17,7 @@ package models -import "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" +import "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" // # StoreOrder represents an order in this application. // diff --git a/fixtures/goparsing/classification/models/order_go118.go b/fixtures/goparsing/classification/models/order_go118.go index 73ac6d67f..e05ab4174 100644 --- a/fixtures/goparsing/classification/models/order_go118.go +++ b/fixtures/goparsing/classification/models/order_go118.go @@ -17,7 +17,7 @@ package models -import "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" +import "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" // StoreOrder represents an order in this application. // diff --git a/fixtures/goparsing/classification/operations/noparams.go b/fixtures/goparsing/classification/operations/noparams.go index b3911ecb7..bb33b1bbc 100644 --- a/fixtures/goparsing/classification/operations/noparams.go +++ b/fixtures/goparsing/classification/operations/noparams.go @@ -18,8 +18,8 @@ import ( "bytes" "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models" - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models" + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" ) // MyFileParams contains the uploaded file data diff --git a/fixtures/goparsing/classification/operations/responses.go b/fixtures/goparsing/classification/operations/responses.go index d67e2c072..d4cde26ba 100644 --- a/fixtures/goparsing/classification/operations/responses.go +++ b/fixtures/goparsing/classification/operations/responses.go @@ -16,7 +16,7 @@ package operations import ( "github.com/go-openapi/strfmt" - "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods" + "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" ) // A GenericError is an error that is used when no other error is appropriate diff --git a/fixtures/goparsing/petstore/models/pet.go b/fixtures/goparsing/petstore/models/pet.go index 92d878261..b43aac25d 100644 --- a/fixtures/goparsing/petstore/models/pet.go +++ b/fixtures/goparsing/petstore/models/pet.go @@ -17,7 +17,7 @@ package models import ( "time" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/enums" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/enums" ) // A Pet is the main product in the store. diff --git a/fixtures/goparsing/petstore/petstore-fixture/main.go b/fixtures/goparsing/petstore/petstore-fixture/main.go index 134e5f2eb..173e1883f 100644 --- a/fixtures/goparsing/petstore/petstore-fixture/main.go +++ b/fixtures/goparsing/petstore/petstore-fixture/main.go @@ -17,8 +17,8 @@ package main import ( "log" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/rest" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/rest" ) var ( diff --git a/fixtures/goparsing/petstore/rest/app.go b/fixtures/goparsing/petstore/rest/app.go index 55f4dcdd3..6febb0db7 100644 --- a/fixtures/goparsing/petstore/rest/app.go +++ b/fixtures/goparsing/petstore/rest/app.go @@ -18,7 +18,7 @@ import ( "net/http" "github.com/go-openapi/runtime/middleware/denco" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/rest/handlers" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/rest/handlers" ) // ServeAPI serves this api diff --git a/fixtures/goparsing/petstore/rest/handlers/orders.go b/fixtures/goparsing/petstore/rest/handlers/orders.go index 0c4276139..90a07428b 100644 --- a/fixtures/goparsing/petstore/rest/handlers/orders.go +++ b/fixtures/goparsing/petstore/rest/handlers/orders.go @@ -18,7 +18,7 @@ import ( "net/http" "github.com/go-openapi/runtime/middleware/denco" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/models" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/models" ) // An OrderID parameter model. diff --git a/fixtures/goparsing/petstore/rest/handlers/pets.go b/fixtures/goparsing/petstore/rest/handlers/pets.go index 5f147515e..2de01f65a 100644 --- a/fixtures/goparsing/petstore/rest/handlers/pets.go +++ b/fixtures/goparsing/petstore/rest/handlers/pets.go @@ -19,8 +19,8 @@ import ( "time" "github.com/go-openapi/runtime/middleware/denco" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/enums" - "github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/models" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/enums" + "github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/models" ) // A GenericError is the default error message that is generated. diff --git a/fixtures/goparsing/spec/api_spec.json b/fixtures/goparsing/spec/api_spec.json index 534fe6d0f..22b1585d8 100644 --- a/fixtures/goparsing/spec/api_spec.json +++ b/fixtures/goparsing/spec/api_spec.json @@ -62,7 +62,7 @@ "readOnly":true } }, - "x-go-package":"github.com/go-swagger/go-swagger/vendor/github.com/go-swagger/scan-repo-boundary/makeplans" + "x-go-package":"github.com/cloudentity/go-swagger/vendor/github.com/cloudentity/scan-repo-boundary/makeplans" }, "Customer":{ "type":"object", @@ -73,7 +73,7 @@ "x-go-name":"Name" } }, - "x-go-package":"github.com/go-swagger/go-swagger/fixtures/goparsing/spec" + "x-go-package":"github.com/cloudentity/go-swagger/fixtures/goparsing/spec" }, "DateRange":{ "description":"DateRange represents a scheduled appointments time\nDateRange should be in definitions since it's being used in a response", @@ -88,7 +88,7 @@ "x-go-name":"Start" } }, - "x-go-package":"github.com/go-swagger/go-swagger/fixtures/goparsing/spec" + "x-go-package":"github.com/cloudentity/go-swagger/fixtures/goparsing/spec" } }, "responses":{ diff --git a/fixtures/goparsing/spec/api_spec.yml b/fixtures/goparsing/spec/api_spec.yml index 3efc50a53..3771f0aef 100644 --- a/fixtures/goparsing/spec/api_spec.yml +++ b/fixtures/goparsing/spec/api_spec.yml @@ -46,7 +46,7 @@ definitions: format: int64 x-go-name: ID readOnly: true - x-go-package: github.com/go-swagger/go-swagger/vendor/github.com/go-swagger/scan-repo-boundary/makeplans + x-go-package: github.com/cloudentity/go-swagger/vendor/github.com/cloudentity/scan-repo-boundary/makeplans Customer: type: object title: Customer of the site. @@ -54,7 +54,7 @@ definitions: name: type: string x-go-name: Name - x-go-package: github.com/go-swagger/go-swagger/fixtures/goparsing/spec + x-go-package: github.com/cloudentity/go-swagger/fixtures/goparsing/spec DateRange: description: |- DateRange represents a scheduled appointments time @@ -67,7 +67,7 @@ definitions: start: type: string x-go-name: Start - x-go-package: github.com/go-swagger/go-swagger/fixtures/goparsing/spec + x-go-package: github.com/cloudentity/go-swagger/fixtures/goparsing/spec responses: BookingResponse: description: BookingResponse represents a scheduled appointment diff --git a/fixtures/goparsing/spec/api_spec_go111.json b/fixtures/goparsing/spec/api_spec_go111.json index 3510ebeb9..8979c6e9e 100644 --- a/fixtures/goparsing/spec/api_spec_go111.json +++ b/fixtures/goparsing/spec/api_spec_go111.json @@ -74,7 +74,7 @@ "x-go-name":"Name" } }, - "x-go-package":"github.com/go-swagger/go-swagger/fixtures/goparsing/spec" + "x-go-package":"github.com/cloudentity/go-swagger/fixtures/goparsing/spec" }, "DateRange":{ "description":"DateRange represents a scheduled appointments time\nDateRange should be in definitions since it's being used in a response", @@ -89,7 +89,7 @@ "x-go-name":"Start" } }, - "x-go-package":"github.com/go-swagger/go-swagger/fixtures/goparsing/spec" + "x-go-package":"github.com/cloudentity/go-swagger/fixtures/goparsing/spec" } }, "responses":{ diff --git a/fixtures/goparsing/spec/api_spec_go111.yml b/fixtures/goparsing/spec/api_spec_go111.yml index a38d3ea47..4ce885b60 100644 --- a/fixtures/goparsing/spec/api_spec_go111.yml +++ b/fixtures/goparsing/spec/api_spec_go111.yml @@ -55,7 +55,7 @@ definitions: name: type: string x-go-name: Name - x-go-package: github.com/go-swagger/go-swagger/fixtures/goparsing/spec + x-go-package: github.com/cloudentity/go-swagger/fixtures/goparsing/spec DateRange: description: |- DateRange represents a scheduled appointments time @@ -68,7 +68,7 @@ definitions: start: type: string x-go-name: Start - x-go-package: github.com/go-swagger/go-swagger/fixtures/goparsing/spec + x-go-package: github.com/cloudentity/go-swagger/fixtures/goparsing/spec responses: BookingResponse: description: BookingResponse represents a scheduled appointment diff --git a/generator/build_test.go b/generator/build_test.go index 8696a2e9b..538f8ac9d 100644 --- a/generator/build_test.go +++ b/generator/build_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/go-swagger/go-swagger/cmd/swagger/commands/generate" + "github.com/cloudentity/go-swagger/cmd/swagger/commands/generate" flags "github.com/jessevdk/go-flags" ) diff --git a/generator/client_test.go b/generator/client_test.go index 59b3bf541..19a5a7627 100644 --- a/generator/client_test.go +++ b/generator/client_test.go @@ -229,7 +229,7 @@ func TestClient(t *testing.T) { // assert client import, with deconfliction code := string(buf) - baseImport := `github.com/go-swagger/go-swagger/generator/swagger_nogo\d+/packages_mangling/client` + baseImport := `github.com/cloudentity/go-swagger/generator/swagger_nogo\d+/packages_mangling/client` assertImports(t, baseImport, code) assertInCode(t, `cli.Strfmt = strfmtops.New(transport, formats)`, code) diff --git a/generator/shared_test.go b/generator/shared_test.go index a95124ddd..06a652a70 100644 --- a/generator/shared_test.go +++ b/generator/shared_test.go @@ -643,7 +643,7 @@ func TestDefaultImports(t *testing.T) { Title: "defaults", Opts: &GenOpts{}, Expected: map[string]string{ - "models": "github.com/go-swagger/go-swagger/generator/models", + "models": "github.com/cloudentity/go-swagger/generator/models", }, }, { @@ -654,8 +654,8 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "ext": "github.com/go-swagger/go-swagger/generator/ext", - "models": "github.com/go-swagger/go-swagger/generator/models", + "ext": "github.com/cloudentity/go-swagger/generator/ext", + "models": "github.com/cloudentity/go-swagger/generator/models", }, }, { @@ -667,7 +667,7 @@ func TestDefaultImports(t *testing.T) { }, Expected: map[string]string{ "identity": "github.com/myproject/identity", - "models": "github.com/go-swagger/go-swagger/generator/models", + "models": "github.com/cloudentity/go-swagger/generator/models", }, }, { @@ -679,7 +679,7 @@ func TestDefaultImports(t *testing.T) { }, Expected: map[string]string{ "auth": "github.com/myproject/middleware", - "models": "github.com/go-swagger/go-swagger/generator/models", + "models": "github.com/cloudentity/go-swagger/generator/models", }, }, { @@ -691,7 +691,7 @@ func TestDefaultImports(t *testing.T) { }, Expected: map[string]string{ "auth": "github.com/myproject/principal", - "models": "github.com/go-swagger/go-swagger/generator/models", + "models": "github.com/cloudentity/go-swagger/generator/models", }, }, { @@ -702,7 +702,7 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "bespoke": "github.com/go-swagger/go-swagger/generator/target/bespoke", + "bespoke": "github.com/cloudentity/go-swagger/generator/target/bespoke", }, }, { @@ -726,8 +726,8 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "bespoke": "github.com/go-swagger/go-swagger/generator/target/bespoke", - "auth": "github.com/go-swagger/go-swagger/generator/auth", + "bespoke": "github.com/cloudentity/go-swagger/generator/target/bespoke", + "auth": "github.com/cloudentity/go-swagger/generator/auth", }, }, { @@ -739,7 +739,7 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "bespoke": "github.com/go-swagger/go-swagger/generator/target/bespoke", + "bespoke": "github.com/cloudentity/go-swagger/generator/target/bespoke", }, }, { @@ -751,7 +751,7 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "bespoke": "github.com/go-swagger/go-swagger/generator/target/bespoke", + "bespoke": "github.com/cloudentity/go-swagger/generator/target/bespoke", }, }, { @@ -764,7 +764,7 @@ func TestDefaultImports(t *testing.T) { }, }, Expected: map[string]string{ - "models": "github.com/go-swagger/go-swagger/generator/target/models", + "models": "github.com/cloudentity/go-swagger/generator/target/models", "auth": "target/auth", }, }, diff --git a/generator/template_repo_test.go b/generator/template_repo_test.go index 09dcd5427..41b5db644 100644 --- a/generator/template_repo_test.go +++ b/generator/template_repo_test.go @@ -311,7 +311,7 @@ func TestTemplates_DefinitionTargetImportPath(t *testing.T) { opts := opts() // Non existing target would panic: to be tested too, but in another module opts.Target = "../fixtures" - var expected = "github.com/go-swagger/go-swagger/fixtures" + var expected = "github.com/cloudentity/go-swagger/fixtures" // executes template against model definitions genModel, err := getModelEnvironment("../fixtures/codegen/todolist.models.yml", opts) @@ -417,7 +417,7 @@ func TestTemplates_FuncMap(t *testing.T) { assert.Contains(t, rendered.String(), "PadSurround1=-,-,-,padme,-,-,-,-,-,-,-,-\n") assert.Contains(t, rendered.String(), "PadSurround2=padme,-,-,-,-,-,-,-,-,-,-,-\n") assert.Contains(t, rendered.String(), `Json={"errors":"github.com/go-openapi/errors","runtime":"github.com/go-openapi/runtime","swag":"github.com/go-openapi/swag","validate":"github.com/go-openapi/validate"}`) - assert.Contains(t, rendered.String(), "\"TargetImportPath\": \"github.com/go-swagger/go-swagger/generator\"") + assert.Contains(t, rendered.String(), "\"TargetImportPath\": \"github.com/cloudentity/go-swagger/generator\"") assert.Contains(t, rendered.String(), "Snakize1=ending_in_os_name_linux_swagger\n") assert.Contains(t, rendered.String(), "Snakize2=ending_in_arch_name_linux_amd64_swagger\n") assert.Contains(t, rendered.String(), "Snakize3=ending_in_test_swagger\n") diff --git a/generator/templates/cli/cli.gotmpl b/generator/templates/cli/cli.gotmpl index 3d88c5beb..f47e60fc7 100644 --- a/generator/templates/cli/cli.gotmpl +++ b/generator/templates/cli/cli.gotmpl @@ -206,7 +206,7 @@ func makeAuthInfoWriter(cmd *cobra.Command) (runtime.ClientAuthInfoWriter, error {{- if .IsOAuth2 }} if viper.IsSet("oauth2-token") { // oauth2 workflow for generated CLI is not ideal. - // If you have suggestions on how to support it, raise an issue here: https://github.com/go-swagger/go-swagger/issues + // If you have suggestions on how to support it, raise an issue here: https://github.com/cloudentity/go-swagger/issues // This will be added to header: "Authorization: Bearer {oauth2-token value}" token := viper.GetString("oauth2-token") auths = append(auths, httptransport.BearerToken(token)) diff --git a/generator/templates/schemavalidator.gotmpl b/generator/templates/schemavalidator.gotmpl index 38acbcbe5..a34ed7584 100644 --- a/generator/templates/schemavalidator.gotmpl +++ b/generator/templates/schemavalidator.gotmpl @@ -194,7 +194,7 @@ {{- end }} {{ if and .IsTuple .AdditionalItems }} // TODO: context validating additional items should go here, if you see this raise an issue{{/* TODO(fred): investigate the case to remove that comment: AdditionalItems shouldn't come in maps. Upstream validation is needed to guard against this */}} - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{ end }} {{ else }} {{ template "primitivefieldcontextvalidator" . }} @@ -202,7 +202,7 @@ {{- else if and .IsCustomFormatter (or .HasValidations .Required) }}{{/* custom format not captured as primitive */}} {{- if and (not .IsStream) (not .IsBase64) }}{{/* TODO: IsStream and CustomFormattershould be mutually exclusive in type resolver */}} // TODO: context validating custom formatter items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{/* {{ template "validationCustomformat" . }} */}} @@ -242,7 +242,7 @@ {{- end }} {{ if and .IsTuple .AdditionalItems }} // TODO: context validating additional items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{ end }} {{- end }} } @@ -335,7 +335,7 @@ {{- end }} {{ if and .IsTuple .AdditionalItems }} // TODO: validating additional items should go here, if you see this raise an issue{{/* TODO(fred): investigate the case to remove that comment: AdditionalItems shouldn't come in maps. Upstream validation is needed to guard against this */}} - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{ end }} {{- else }} {{ template "primitivefieldvalidator" . }} @@ -394,7 +394,7 @@ {{- end }} {{ if and .IsTuple .AdditionalItems }} // TODO: validating additional items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{ end }} {{ end }} } @@ -475,7 +475,7 @@ {{- end }} {{- if and .IsTuple .AdditionalItems }} // TODO: context validating additional items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{- end }} {{ end }} {{ define "minmaxProperties" }} @@ -577,7 +577,7 @@ {{- end }} {{- if and .IsTuple .AdditionalItems }} // TODO: validating additional items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{- end }} {{ end }} @@ -590,7 +590,7 @@ {{- end }} {{- else if and .IsCustomFormatter (or .HasValidations .Required) }}{{/* custom format not captured as primitive */}} // TODO: context validating primitive with custom formatter should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{- if .ReadOnly }} if err := validate.ReadOnly{{ if and (eq .GoType "string") (not .IsNullable) }}String{{ end }}({{ if .Path }}{{ .Path }}{{ else }}""{{ end }}, {{ printf "%q" .Location }}, {{ if not (or .IsAnonymous .IsNullable) }}{{ .GoType }}({{ end }}{{.ValueExpression }}{{ if not (or .IsAnonymous .IsNullable) }}){{ end }}); err != nil { @@ -599,7 +599,7 @@ {{- end }} {{- if and (not .IsStream) (not .IsBase64) }} // TODO: context validating properties with custom formatter should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{/*{{ template "validationCustomformat" . }}*/}} {{- end }} {{- else if .IsArray }} @@ -670,7 +670,7 @@ {{- else if and .IsCustomFormatter (or .HasValidations .Required) }}{{/* custom format not captured as primitive */}} {{- if and (not .IsStream) (not .IsBase64) }} // TODO: context validating properties with custom formatter should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{/* {{ template "validationCustomformat" . }} */}} @@ -724,7 +724,7 @@ func ({{.ReceiverName }} {{ if or .IsTuple .IsComplexObject .IsAdditionalPropert {{- end }} {{ if and .IsTuple .AdditionalItems }} // TODO: context validating additional items should go here, if you see this raise an issue - // at https://github.com/go-swagger/go-swagger/issues + // at https://github.com/cloudentity/go-swagger/issues {{/* if err := {{ .ReceiverName }}.validate{{ pascalize .Name }}Items(formats); err != nil { res = append(res, err) diff --git a/go.mod b/go.mod index 312fc3a84..12ef8db6f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/go-swagger/go-swagger +module github.com/cloudentity/go-swagger go 1.19 diff --git a/notes/v0.10.0.md b/notes/v0.10.0.md index 10d5c4a5b..efd8fa522 100644 --- a/notes/v0.10.0.md +++ b/notes/v0.10.0.md @@ -1,50 +1,50 @@ # Change Log -## [0.10.0](https://github.com/go-swagger/go-swagger/tree/0.10.0) (2017-04-23) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.9.0...0.10.0) +## [0.10.0](https://github.com/cloudentity/go-swagger/tree/0.10.0) (2017-04-23) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.9.0...0.10.0) **Implemented enhancements:** -- Expose host and port to service configuration code [\#1002](https://github.com/go-swagger/go-swagger/issues/1002) -- no README in examples/todo-list [\#986](https://github.com/go-swagger/go-swagger/issues/986) -- README instructions don't work for me [\#985](https://github.com/go-swagger/go-swagger/issues/985) -- Brew install should link to go-swagger instead of swagger to avoid conflict with npm swagger [\#983](https://github.com/go-swagger/go-swagger/issues/983) -- Upgrade mailru/easy json to latest version, for Google App Engine [\#947](https://github.com/go-swagger/go-swagger/issues/947) -- Unable to respond with file and application/octet-stream producer [\#943](https://github.com/go-swagger/go-swagger/issues/943) -- APIs.guru: test on 200+ Swagger files for real-life APIs [\#501](https://github.com/go-swagger/go-swagger/issues/501) +- Expose host and port to service configuration code [\#1002](https://github.com/cloudentity/go-swagger/issues/1002) +- no README in examples/todo-list [\#986](https://github.com/cloudentity/go-swagger/issues/986) +- README instructions don't work for me [\#985](https://github.com/cloudentity/go-swagger/issues/985) +- Brew install should link to go-swagger instead of swagger to avoid conflict with npm swagger [\#983](https://github.com/cloudentity/go-swagger/issues/983) +- Upgrade mailru/easy json to latest version, for Google App Engine [\#947](https://github.com/cloudentity/go-swagger/issues/947) +- Unable to respond with file and application/octet-stream producer [\#943](https://github.com/cloudentity/go-swagger/issues/943) +- APIs.guru: test on 200+ Swagger files for real-life APIs [\#501](https://github.com/cloudentity/go-swagger/issues/501) **Fixed bugs:** -- Swagger fails to generate code for valid schema [\#1012](https://github.com/go-swagger/go-swagger/issues/1012) -- Wrong context package used in generated code [\#1011](https://github.com/go-swagger/go-swagger/issues/1011) -- Bad code generated for querystring items pattern validation [\#1010](https://github.com/go-swagger/go-swagger/issues/1010) -- How to cleanup resources created by handler post handle? [\#1009](https://github.com/go-swagger/go-swagger/issues/1009) -- x/net/context vs context pkg [\#998](https://github.com/go-swagger/go-swagger/issues/998) -- Missing `gcc` in docker image [\#992](https://github.com/go-swagger/go-swagger/issues/992) -- detection of consumers/producers for codegeneration fails when not top-level [\#987](https://github.com/go-swagger/go-swagger/issues/987) -- Invalid code generating for embedded structures [\#982](https://github.com/go-swagger/go-swagger/issues/982) -- Invalid JSON tags in model [\#981](https://github.com/go-swagger/go-swagger/issues/981) -- todo-list client throws "runtime error: invalid memory address" [\#968](https://github.com/go-swagger/go-swagger/issues/968) -- generate operation --skip-validator does not skip validations [\#924](https://github.com/go-swagger/go-swagger/issues/924) -- go-swagger generating apparently invalid .json file [\#922](https://github.com/go-swagger/go-swagger/issues/922) -- POST client request gets a 415 response [\#893](https://github.com/go-swagger/go-swagger/issues/893) -- "swagger generate model" doesn't generate enum values if "--skip-validator" is passed [\#860](https://github.com/go-swagger/go-swagger/issues/860) +- Swagger fails to generate code for valid schema [\#1012](https://github.com/cloudentity/go-swagger/issues/1012) +- Wrong context package used in generated code [\#1011](https://github.com/cloudentity/go-swagger/issues/1011) +- Bad code generated for querystring items pattern validation [\#1010](https://github.com/cloudentity/go-swagger/issues/1010) +- How to cleanup resources created by handler post handle? [\#1009](https://github.com/cloudentity/go-swagger/issues/1009) +- x/net/context vs context pkg [\#998](https://github.com/cloudentity/go-swagger/issues/998) +- Missing `gcc` in docker image [\#992](https://github.com/cloudentity/go-swagger/issues/992) +- detection of consumers/producers for codegeneration fails when not top-level [\#987](https://github.com/cloudentity/go-swagger/issues/987) +- Invalid code generating for embedded structures [\#982](https://github.com/cloudentity/go-swagger/issues/982) +- Invalid JSON tags in model [\#981](https://github.com/cloudentity/go-swagger/issues/981) +- todo-list client throws "runtime error: invalid memory address" [\#968](https://github.com/cloudentity/go-swagger/issues/968) +- generate operation --skip-validator does not skip validations [\#924](https://github.com/cloudentity/go-swagger/issues/924) +- go-swagger generating apparently invalid .json file [\#922](https://github.com/cloudentity/go-swagger/issues/922) +- POST client request gets a 415 response [\#893](https://github.com/cloudentity/go-swagger/issues/893) +- "swagger generate model" doesn't generate enum values if "--skip-validator" is passed [\#860](https://github.com/cloudentity/go-swagger/issues/860) **Closed issues:** -- add description to response [\#989](https://github.com/go-swagger/go-swagger/issues/989) +- add description to response [\#989](https://github.com/cloudentity/go-swagger/issues/989) **Merged pull requests:** -- varname value expression for param items [\#1019](https://github.com/go-swagger/go-swagger/pull/1019) ([casualjim](https://github.com/casualjim)) -- verify nested consumer/producer [\#1018](https://github.com/go-swagger/go-swagger/pull/1018) ([casualjim](https://github.com/casualjim)) -- fix naming for properties with x-go-name [\#1017](https://github.com/go-swagger/go-swagger/pull/1017) ([casualjim](https://github.com/casualjim)) -- \[BREAKING\] configureServer gets an extra string arg for the address of the listener [\#1016](https://github.com/go-swagger/go-swagger/pull/1016) ([casualjim](https://github.com/casualjim)) -- fix examples [\#1015](https://github.com/go-swagger/go-swagger/pull/1015) ([casualjim](https://github.com/casualjim)) -- Issue \#1012 - restore spec to original after optional validation to avoid side effects [\#1014](https://github.com/go-swagger/go-swagger/pull/1014) ([rupor-github](https://github.com/rupor-github)) -- Parse VendorExtensible properties. YAMLBlock parser. [\#1008](https://github.com/go-swagger/go-swagger/pull/1008) ([gaplyk](https://github.com/gaplyk)) -- Task: Add Makefile and scripts [\#1004](https://github.com/go-swagger/go-swagger/pull/1004) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Fixes local file $ref resolution on windows [\#1001](https://github.com/go-swagger/go-swagger/pull/1001) ([casualjim](https://github.com/casualjim)) -- Circle 2.0 [\#999](https://github.com/go-swagger/go-swagger/pull/999) ([casualjim](https://github.com/casualjim)) +- varname value expression for param items [\#1019](https://github.com/cloudentity/go-swagger/pull/1019) ([casualjim](https://github.com/casualjim)) +- verify nested consumer/producer [\#1018](https://github.com/cloudentity/go-swagger/pull/1018) ([casualjim](https://github.com/casualjim)) +- fix naming for properties with x-go-name [\#1017](https://github.com/cloudentity/go-swagger/pull/1017) ([casualjim](https://github.com/casualjim)) +- \[BREAKING\] configureServer gets an extra string arg for the address of the listener [\#1016](https://github.com/cloudentity/go-swagger/pull/1016) ([casualjim](https://github.com/casualjim)) +- fix examples [\#1015](https://github.com/cloudentity/go-swagger/pull/1015) ([casualjim](https://github.com/casualjim)) +- Issue \#1012 - restore spec to original after optional validation to avoid side effects [\#1014](https://github.com/cloudentity/go-swagger/pull/1014) ([rupor-github](https://github.com/rupor-github)) +- Parse VendorExtensible properties. YAMLBlock parser. [\#1008](https://github.com/cloudentity/go-swagger/pull/1008) ([gaplyk](https://github.com/gaplyk)) +- Task: Add Makefile and scripts [\#1004](https://github.com/cloudentity/go-swagger/pull/1004) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Fixes local file $ref resolution on windows [\#1001](https://github.com/cloudentity/go-swagger/pull/1001) ([casualjim](https://github.com/casualjim)) +- Circle 2.0 [\#999](https://github.com/cloudentity/go-swagger/pull/999) ([casualjim](https://github.com/casualjim)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.11.0.md b/notes/v0.11.0.md index baa41f381..5f5d90ee2 100644 --- a/notes/v0.11.0.md +++ b/notes/v0.11.0.md @@ -1,72 +1,72 @@ # Change Log -## [0.11.0](https://github.com/go-swagger/go-swagger/tree/0.11.0) (2017-07-24) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.10.0...0.11.0) +## [0.11.0](https://github.com/cloudentity/go-swagger/tree/0.11.0) (2017-07-24) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.10.0...0.11.0) **Implemented enhancements:** -- Add ability for having a non-strict expander [\#830](https://github.com/go-swagger/go-swagger/issues/830) -- swagger generate spec: type aliases in query parameters [\#649](https://github.com/go-swagger/go-swagger/issues/649) +- Add ability for having a non-strict expander [\#830](https://github.com/cloudentity/go-swagger/issues/830) +- swagger generate spec: type aliases in query parameters [\#649](https://github.com/cloudentity/go-swagger/issues/649) **Fixed bugs:** -- Consumes wildcard not working [\#1073](https://github.com/go-swagger/go-swagger/issues/1073) -- How to use produces 'text/plain; charset=utf-8' [\#835](https://github.com/go-swagger/go-swagger/issues/835) -- Security definition could not be resolved in Swagger Editor [\#721](https://github.com/go-swagger/go-swagger/issues/721) +- Consumes wildcard not working [\#1073](https://github.com/cloudentity/go-swagger/issues/1073) +- How to use produces 'text/plain; charset=utf-8' [\#835](https://github.com/cloudentity/go-swagger/issues/835) +- Security definition could not be resolved in Swagger Editor [\#721](https://github.com/cloudentity/go-swagger/issues/721) **Closed issues:** -- incorrect json for overridden `json:"-"` fields from embedded struct [\#1102](https://github.com/go-swagger/go-swagger/issues/1102) -- Swagger UI doesn't pass auth token [\#1100](https://github.com/go-swagger/go-swagger/issues/1100) -- configureServer has incorrect number of arguments [\#1099](https://github.com/go-swagger/go-swagger/issues/1099) -- CR \#1081 introduced non-compiling errors [\#1097](https://github.com/go-swagger/go-swagger/issues/1097) -- Generated code contains compiler error \(assignment count mismatch\) [\#1094](https://github.com/go-swagger/go-swagger/issues/1094) -- why my swagger command line does not have generate command [\#1091](https://github.com/go-swagger/go-swagger/issues/1091) -- How to specify nested required in definitions [\#1080](https://github.com/go-swagger/go-swagger/issues/1080) -- unknown field type ele for [\#1077](https://github.com/go-swagger/go-swagger/issues/1077) -- shadow in generated restapi/server.go [\#1074](https://github.com/go-swagger/go-swagger/issues/1074) -- type=uint64, minimum=0+exclusiveMinimum vs minimum=1 [\#1068](https://github.com/go-swagger/go-swagger/issues/1068) -- Incomplete Documentation for Generate Spec [\#1067](https://github.com/go-swagger/go-swagger/issues/1067) -- Is there anyway to change the response format body when validation error? [\#1061](https://github.com/go-swagger/go-swagger/issues/1061) -- Panic recovery middleware should be able to respond with status code [\#1056](https://github.com/go-swagger/go-swagger/issues/1056) -- Getting started with go-swagger [\#1053](https://github.com/go-swagger/go-swagger/issues/1053) -- Files — returning proper content-type/filenames through runtime.File? [\#1052](https://github.com/go-swagger/go-swagger/issues/1052) -- Could I change a response of when validation error ? [\#1041](https://github.com/go-swagger/go-swagger/issues/1041) -- How to accept an API-KEY? [\#1039](https://github.com/go-swagger/go-swagger/issues/1039) -- Model issues generating swagger.yml from code annotations [\#1038](https://github.com/go-swagger/go-swagger/issues/1038) -- OAuth2 scopes in SecurityDefinitions in spec generation not working [\#1028](https://github.com/go-swagger/go-swagger/issues/1028) -- No paths found in basic net/http Web app [\#1027](https://github.com/go-swagger/go-swagger/issues/1027) -- How to validate the body? [\#1025](https://github.com/go-swagger/go-swagger/issues/1025) +- incorrect json for overridden `json:"-"` fields from embedded struct [\#1102](https://github.com/cloudentity/go-swagger/issues/1102) +- Swagger UI doesn't pass auth token [\#1100](https://github.com/cloudentity/go-swagger/issues/1100) +- configureServer has incorrect number of arguments [\#1099](https://github.com/cloudentity/go-swagger/issues/1099) +- CR \#1081 introduced non-compiling errors [\#1097](https://github.com/cloudentity/go-swagger/issues/1097) +- Generated code contains compiler error \(assignment count mismatch\) [\#1094](https://github.com/cloudentity/go-swagger/issues/1094) +- why my swagger command line does not have generate command [\#1091](https://github.com/cloudentity/go-swagger/issues/1091) +- How to specify nested required in definitions [\#1080](https://github.com/cloudentity/go-swagger/issues/1080) +- unknown field type ele for [\#1077](https://github.com/cloudentity/go-swagger/issues/1077) +- shadow in generated restapi/server.go [\#1074](https://github.com/cloudentity/go-swagger/issues/1074) +- type=uint64, minimum=0+exclusiveMinimum vs minimum=1 [\#1068](https://github.com/cloudentity/go-swagger/issues/1068) +- Incomplete Documentation for Generate Spec [\#1067](https://github.com/cloudentity/go-swagger/issues/1067) +- Is there anyway to change the response format body when validation error? [\#1061](https://github.com/cloudentity/go-swagger/issues/1061) +- Panic recovery middleware should be able to respond with status code [\#1056](https://github.com/cloudentity/go-swagger/issues/1056) +- Getting started with go-swagger [\#1053](https://github.com/cloudentity/go-swagger/issues/1053) +- Files — returning proper content-type/filenames through runtime.File? [\#1052](https://github.com/cloudentity/go-swagger/issues/1052) +- Could I change a response of when validation error ? [\#1041](https://github.com/cloudentity/go-swagger/issues/1041) +- How to accept an API-KEY? [\#1039](https://github.com/cloudentity/go-swagger/issues/1039) +- Model issues generating swagger.yml from code annotations [\#1038](https://github.com/cloudentity/go-swagger/issues/1038) +- OAuth2 scopes in SecurityDefinitions in spec generation not working [\#1028](https://github.com/cloudentity/go-swagger/issues/1028) +- No paths found in basic net/http Web app [\#1027](https://github.com/cloudentity/go-swagger/issues/1027) +- How to validate the body? [\#1025](https://github.com/cloudentity/go-swagger/issues/1025) **Merged pull requests:** -- move to golang/dep for vendor mgmt [\#1106](https://github.com/go-swagger/go-swagger/pull/1106) ([casualjim](https://github.com/casualjim)) -- add standardized codegen comment [\#1105](https://github.com/go-swagger/go-swagger/pull/1105) ([casualjim](https://github.com/casualjim)) -- allow for extra args to be defined on mime types [\#1104](https://github.com/go-swagger/go-swagger/pull/1104) ([casualjim](https://github.com/casualjim)) -- Ignored overriden fields fix \#1102 [\#1103](https://github.com/go-swagger/go-swagger/pull/1103) ([smacker](https://github.com/smacker)) -- Fix for incomplete PR 1081 [\#1101](https://github.com/go-swagger/go-swagger/pull/1101) ([alexmontecucco](https://github.com/alexmontecucco)) -- \[BREAKING\] replace gorilla/context with net.Context [\#1090](https://github.com/go-swagger/go-swagger/pull/1090) ([casualjim](https://github.com/casualjim)) -- Generate spec follows alias types [\#1087](https://github.com/go-swagger/go-swagger/pull/1087) ([smacker](https://github.com/smacker)) -- fix a shadow in server.gotmpl [\#1082](https://github.com/go-swagger/go-swagger/pull/1082) ([arielt](https://github.com/arielt)) -- Discriminator should also contain the base struct [\#1081](https://github.com/go-swagger/go-swagger/pull/1081) ([alexmontecucco](https://github.com/alexmontecucco)) -- Fix the example template of default-server. [\#1072](https://github.com/go-swagger/go-swagger/pull/1072) ([hiroara](https://github.com/hiroara)) -- fix a typo [\#1071](https://github.com/go-swagger/go-swagger/pull/1071) ([maplain](https://github.com/maplain)) -- Enabling filtering by tags [\#1070](https://github.com/go-swagger/go-swagger/pull/1070) ([hmahmood](https://github.com/hmahmood)) -- nullableNumber\(\) now handles Exclusive{Max,Min}imum [\#1069](https://github.com/go-swagger/go-swagger/pull/1069) ([maxatome](https://github.com/maxatome)) -- docs: Fix external link to semantic validations [\#1058](https://github.com/go-swagger/go-swagger/pull/1058) ([ifraixedes](https://github.com/ifraixedes)) -- Parsing of tags in YAML format. [\#1057](https://github.com/go-swagger/go-swagger/pull/1057) ([gaplyk](https://github.com/gaplyk)) -- \[BREAKING\] fix a tiny typo from tls-certificate-key to tls-key [\#1055](https://github.com/go-swagger/go-swagger/pull/1055) ([maplain](https://github.com/maplain)) -- Use filepath.Rel to determine template name [\#1054](https://github.com/go-swagger/go-swagger/pull/1054) ([ka2n](https://github.com/ka2n)) -- Expose extensions [\#1051](https://github.com/go-swagger/go-swagger/pull/1051) ([shashankmehra](https://github.com/shashankmehra)) -- helper function for extending a default repositiry of templates [\#1046](https://github.com/go-swagger/go-swagger/pull/1046) ([seifer](https://github.com/seifer)) -- Fix 1040: make generation of api key authencator customizable. [\#1045](https://github.com/go-swagger/go-swagger/pull/1045) ([dreamlover](https://github.com/dreamlover)) -- Set field default depend on the type of property [\#1044](https://github.com/go-swagger/go-swagger/pull/1044) ([gaplyk](https://github.com/gaplyk)) -- Expose operation security and securitydefinitions in templates [\#1037](https://github.com/go-swagger/go-swagger/pull/1037) ([mikkeloscar](https://github.com/mikkeloscar)) -- Adding ability to use pre-generated models. [\#1035](https://github.com/go-swagger/go-swagger/pull/1035) ([nickrmc83](https://github.com/nickrmc83)) -- Parse Scopes of SecurityDefinitions. Fixes \#1028 [\#1032](https://github.com/go-swagger/go-swagger/pull/1032) ([gaplyk](https://github.com/gaplyk)) -- add binary marshaler interface [\#1030](https://github.com/go-swagger/go-swagger/pull/1030) ([casualjim](https://github.com/casualjim)) -- Add mixin feature that can merge swagger specs. Issue \#1005 [\#1024](https://github.com/go-swagger/go-swagger/pull/1024) ([msample](https://github.com/msample)) -- Add the list of supported consumers and producers [\#1023](https://github.com/go-swagger/go-swagger/pull/1023) ([bobvanluijt](https://github.com/bobvanluijt)) +- move to golang/dep for vendor mgmt [\#1106](https://github.com/cloudentity/go-swagger/pull/1106) ([casualjim](https://github.com/casualjim)) +- add standardized codegen comment [\#1105](https://github.com/cloudentity/go-swagger/pull/1105) ([casualjim](https://github.com/casualjim)) +- allow for extra args to be defined on mime types [\#1104](https://github.com/cloudentity/go-swagger/pull/1104) ([casualjim](https://github.com/casualjim)) +- Ignored overriden fields fix \#1102 [\#1103](https://github.com/cloudentity/go-swagger/pull/1103) ([smacker](https://github.com/smacker)) +- Fix for incomplete PR 1081 [\#1101](https://github.com/cloudentity/go-swagger/pull/1101) ([alexmontecucco](https://github.com/alexmontecucco)) +- \[BREAKING\] replace gorilla/context with net.Context [\#1090](https://github.com/cloudentity/go-swagger/pull/1090) ([casualjim](https://github.com/casualjim)) +- Generate spec follows alias types [\#1087](https://github.com/cloudentity/go-swagger/pull/1087) ([smacker](https://github.com/smacker)) +- fix a shadow in server.gotmpl [\#1082](https://github.com/cloudentity/go-swagger/pull/1082) ([arielt](https://github.com/arielt)) +- Discriminator should also contain the base struct [\#1081](https://github.com/cloudentity/go-swagger/pull/1081) ([alexmontecucco](https://github.com/alexmontecucco)) +- Fix the example template of default-server. [\#1072](https://github.com/cloudentity/go-swagger/pull/1072) ([hiroara](https://github.com/hiroara)) +- fix a typo [\#1071](https://github.com/cloudentity/go-swagger/pull/1071) ([maplain](https://github.com/maplain)) +- Enabling filtering by tags [\#1070](https://github.com/cloudentity/go-swagger/pull/1070) ([hmahmood](https://github.com/hmahmood)) +- nullableNumber\(\) now handles Exclusive{Max,Min}imum [\#1069](https://github.com/cloudentity/go-swagger/pull/1069) ([maxatome](https://github.com/maxatome)) +- docs: Fix external link to semantic validations [\#1058](https://github.com/cloudentity/go-swagger/pull/1058) ([ifraixedes](https://github.com/ifraixedes)) +- Parsing of tags in YAML format. [\#1057](https://github.com/cloudentity/go-swagger/pull/1057) ([gaplyk](https://github.com/gaplyk)) +- \[BREAKING\] fix a tiny typo from tls-certificate-key to tls-key [\#1055](https://github.com/cloudentity/go-swagger/pull/1055) ([maplain](https://github.com/maplain)) +- Use filepath.Rel to determine template name [\#1054](https://github.com/cloudentity/go-swagger/pull/1054) ([ka2n](https://github.com/ka2n)) +- Expose extensions [\#1051](https://github.com/cloudentity/go-swagger/pull/1051) ([shashankmehra](https://github.com/shashankmehra)) +- helper function for extending a default repositiry of templates [\#1046](https://github.com/cloudentity/go-swagger/pull/1046) ([seifer](https://github.com/seifer)) +- Fix 1040: make generation of api key authencator customizable. [\#1045](https://github.com/cloudentity/go-swagger/pull/1045) ([dreamlover](https://github.com/dreamlover)) +- Set field default depend on the type of property [\#1044](https://github.com/cloudentity/go-swagger/pull/1044) ([gaplyk](https://github.com/gaplyk)) +- Expose operation security and securitydefinitions in templates [\#1037](https://github.com/cloudentity/go-swagger/pull/1037) ([mikkeloscar](https://github.com/mikkeloscar)) +- Adding ability to use pre-generated models. [\#1035](https://github.com/cloudentity/go-swagger/pull/1035) ([nickrmc83](https://github.com/nickrmc83)) +- Parse Scopes of SecurityDefinitions. Fixes \#1028 [\#1032](https://github.com/cloudentity/go-swagger/pull/1032) ([gaplyk](https://github.com/gaplyk)) +- add binary marshaler interface [\#1030](https://github.com/cloudentity/go-swagger/pull/1030) ([casualjim](https://github.com/casualjim)) +- Add mixin feature that can merge swagger specs. Issue \#1005 [\#1024](https://github.com/cloudentity/go-swagger/pull/1024) ([msample](https://github.com/msample)) +- Add the list of supported consumers and producers [\#1023](https://github.com/cloudentity/go-swagger/pull/1023) ([bobvanluijt](https://github.com/bobvanluijt)) diff --git a/notes/v0.12.0.md b/notes/v0.12.0.md index 0e967e721..a91e58267 100644 --- a/notes/v0.12.0.md +++ b/notes/v0.12.0.md @@ -1,52 +1,52 @@ # Change Log -## [0.12.0](https://github.com/go-swagger/go-swagger/tree/0.12.0) (2017-09-11) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.11.0...0.12.0) +## [0.12.0](https://github.com/cloudentity/go-swagger/tree/0.12.0) (2017-09-11) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.11.0...0.12.0) **Implemented enhancements:** -- Flag to add a licence/copyright header on generated files [\#307](https://github.com/go-swagger/go-swagger/issues/307) +- Flag to add a licence/copyright header on generated files [\#307](https://github.com/cloudentity/go-swagger/issues/307) **Closed issues:** -- No properties generated in json file for swagger:response [\#1161](https://github.com/go-swagger/go-swagger/issues/1161) -- Can't read $ref Schema properties [\#1159](https://github.com/go-swagger/go-swagger/issues/1159) -- No change to generated code when required is set to true or false for formData parameter of type file [\#1151](https://github.com/go-swagger/go-swagger/issues/1151) -- Invalid code generation - redeclares the same function twice [\#1145](https://github.com/go-swagger/go-swagger/issues/1145) -- is there any option to specify the correct import prefix [\#1142](https://github.com/go-swagger/go-swagger/issues/1142) -- go-openapi/runtime/security - not added to the imports - undefined: security [\#1137](https://github.com/go-swagger/go-swagger/issues/1137) -- Struct with \[\]byte field has wrong type [\#1136](https://github.com/go-swagger/go-swagger/issues/1136) -- How to specify the header name in a Parameters or Response definition? [\#1135](https://github.com/go-swagger/go-swagger/issues/1135) -- Broken go get github.com/go-swagger/go-swagger/cmd/swagger after PR \(\#1130\) [\#1131](https://github.com/go-swagger/go-swagger/issues/1131) -- Generation with custom Template [\#1129](https://github.com/go-swagger/go-swagger/issues/1129) -- go 1.7.x only supported atm ? [\#1127](https://github.com/go-swagger/go-swagger/issues/1127) -- go-swagger route can't handle Chinese characters properly [\#1116](https://github.com/go-swagger/go-swagger/issues/1116) -- Add 'db' tag to struct [\#1113](https://github.com/go-swagger/go-swagger/issues/1113) -- Client code is missing handling of joined\ when parameter is in path [\#1111](https://github.com/go-swagger/go-swagger/issues/1111) -- import's are incorrectly generated if $GOPATH is on a symlink [\#1059](https://github.com/go-swagger/go-swagger/issues/1059) -- Code gen: undefined: swag in swag.IsZero [\#656](https://github.com/go-swagger/go-swagger/issues/656) +- No properties generated in json file for swagger:response [\#1161](https://github.com/cloudentity/go-swagger/issues/1161) +- Can't read $ref Schema properties [\#1159](https://github.com/cloudentity/go-swagger/issues/1159) +- No change to generated code when required is set to true or false for formData parameter of type file [\#1151](https://github.com/cloudentity/go-swagger/issues/1151) +- Invalid code generation - redeclares the same function twice [\#1145](https://github.com/cloudentity/go-swagger/issues/1145) +- is there any option to specify the correct import prefix [\#1142](https://github.com/cloudentity/go-swagger/issues/1142) +- go-openapi/runtime/security - not added to the imports - undefined: security [\#1137](https://github.com/cloudentity/go-swagger/issues/1137) +- Struct with \[\]byte field has wrong type [\#1136](https://github.com/cloudentity/go-swagger/issues/1136) +- How to specify the header name in a Parameters or Response definition? [\#1135](https://github.com/cloudentity/go-swagger/issues/1135) +- Broken go get github.com/cloudentity/go-swagger/cmd/swagger after PR \(\#1130\) [\#1131](https://github.com/cloudentity/go-swagger/issues/1131) +- Generation with custom Template [\#1129](https://github.com/cloudentity/go-swagger/issues/1129) +- go 1.7.x only supported atm ? [\#1127](https://github.com/cloudentity/go-swagger/issues/1127) +- go-swagger route can't handle Chinese characters properly [\#1116](https://github.com/cloudentity/go-swagger/issues/1116) +- Add 'db' tag to struct [\#1113](https://github.com/cloudentity/go-swagger/issues/1113) +- Client code is missing handling of joined\ when parameter is in path [\#1111](https://github.com/cloudentity/go-swagger/issues/1111) +- import's are incorrectly generated if $GOPATH is on a symlink [\#1059](https://github.com/cloudentity/go-swagger/issues/1059) +- Code gen: undefined: swag in swag.IsZero [\#656](https://github.com/cloudentity/go-swagger/issues/656) **Merged pull requests:** -- Test model generator [\#1164](https://github.com/go-swagger/go-swagger/pull/1164) ([joshq00](https://github.com/joshq00)) -- Generate models that have x-go-type [\#1163](https://github.com/go-swagger/go-swagger/pull/1163) ([joshq00](https://github.com/joshq00)) -- More than one tag on a path causes redundancy in directory structure [\#1160](https://github.com/go-swagger/go-swagger/pull/1160) ([EleanorRigby](https://github.com/EleanorRigby)) -- Bugfix/lint errors [\#1156](https://github.com/go-swagger/go-swagger/pull/1156) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Feature: Add Authorizer support [\#1155](https://github.com/go-swagger/go-swagger/pull/1155) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Implement `required:false` for parameter of type File [\#1154](https://github.com/go-swagger/go-swagger/pull/1154) ([khyew](https://github.com/khyew)) -- New swagger:ignore annotation to explicitly ignore extraneous models [\#1152](https://github.com/go-swagger/go-swagger/pull/1152) ([iamtheddrman](https://github.com/iamtheddrman)) -- Issue \# 1059 : import's are incorrectly generated if $GOPATH is on a symlink. [\#1150](https://github.com/go-swagger/go-swagger/pull/1150) ([EleanorRigby](https://github.com/EleanorRigby)) -- Adds a Copyright comment header to auto generated code files. [\#1148](https://github.com/go-swagger/go-swagger/pull/1148) ([EleanorRigby](https://github.com/EleanorRigby)) -- update-vendor [\#1132](https://github.com/go-swagger/go-swagger/pull/1132) ([casualjim](https://github.com/casualjim)) -- Update vendor [\#1130](https://github.com/go-swagger/go-swagger/pull/1130) ([casualjim](https://github.com/casualjim)) -- Fixing Un/MarshalJSON calls for polymorphic types [\#1128](https://github.com/go-swagger/go-swagger/pull/1128) ([nickrmc83](https://github.com/nickrmc83)) -- Copying missing "existing-models" option [\#1125](https://github.com/go-swagger/go-swagger/pull/1125) ([nickrmc83](https://github.com/nickrmc83)) -- Ensure extend string formats are validated [\#1124](https://github.com/go-swagger/go-swagger/pull/1124) ([benpye](https://github.com/benpye)) -- add support for strfmt.ObjectId [\#1123](https://github.com/go-swagger/go-swagger/pull/1123) ([ultimateboy](https://github.com/ultimateboy)) -- Correctly validate each element in array parameter [\#1119](https://github.com/go-swagger/go-swagger/pull/1119) ([benpye](https://github.com/benpye)) -- Add path array param [\#1112](https://github.com/go-swagger/go-swagger/pull/1112) ([marclop](https://github.com/marclop)) -- Add default imports in templates [\#1110](https://github.com/go-swagger/go-swagger/pull/1110) ([JrCs](https://github.com/JrCs)) -- Fix typo in configureAPI logger example [\#1108](https://github.com/go-swagger/go-swagger/pull/1108) ([sapk](https://github.com/sapk)) +- Test model generator [\#1164](https://github.com/cloudentity/go-swagger/pull/1164) ([joshq00](https://github.com/joshq00)) +- Generate models that have x-go-type [\#1163](https://github.com/cloudentity/go-swagger/pull/1163) ([joshq00](https://github.com/joshq00)) +- More than one tag on a path causes redundancy in directory structure [\#1160](https://github.com/cloudentity/go-swagger/pull/1160) ([EleanorRigby](https://github.com/EleanorRigby)) +- Bugfix/lint errors [\#1156](https://github.com/cloudentity/go-swagger/pull/1156) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Feature: Add Authorizer support [\#1155](https://github.com/cloudentity/go-swagger/pull/1155) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Implement `required:false` for parameter of type File [\#1154](https://github.com/cloudentity/go-swagger/pull/1154) ([khyew](https://github.com/khyew)) +- New swagger:ignore annotation to explicitly ignore extraneous models [\#1152](https://github.com/cloudentity/go-swagger/pull/1152) ([iamtheddrman](https://github.com/iamtheddrman)) +- Issue \# 1059 : import's are incorrectly generated if $GOPATH is on a symlink. [\#1150](https://github.com/cloudentity/go-swagger/pull/1150) ([EleanorRigby](https://github.com/EleanorRigby)) +- Adds a Copyright comment header to auto generated code files. [\#1148](https://github.com/cloudentity/go-swagger/pull/1148) ([EleanorRigby](https://github.com/EleanorRigby)) +- update-vendor [\#1132](https://github.com/cloudentity/go-swagger/pull/1132) ([casualjim](https://github.com/casualjim)) +- Update vendor [\#1130](https://github.com/cloudentity/go-swagger/pull/1130) ([casualjim](https://github.com/casualjim)) +- Fixing Un/MarshalJSON calls for polymorphic types [\#1128](https://github.com/cloudentity/go-swagger/pull/1128) ([nickrmc83](https://github.com/nickrmc83)) +- Copying missing "existing-models" option [\#1125](https://github.com/cloudentity/go-swagger/pull/1125) ([nickrmc83](https://github.com/nickrmc83)) +- Ensure extend string formats are validated [\#1124](https://github.com/cloudentity/go-swagger/pull/1124) ([benpye](https://github.com/benpye)) +- add support for strfmt.ObjectId [\#1123](https://github.com/cloudentity/go-swagger/pull/1123) ([ultimateboy](https://github.com/ultimateboy)) +- Correctly validate each element in array parameter [\#1119](https://github.com/cloudentity/go-swagger/pull/1119) ([benpye](https://github.com/benpye)) +- Add path array param [\#1112](https://github.com/cloudentity/go-swagger/pull/1112) ([marclop](https://github.com/marclop)) +- Add default imports in templates [\#1110](https://github.com/cloudentity/go-swagger/pull/1110) ([JrCs](https://github.com/JrCs)) +- Fix typo in configureAPI logger example [\#1108](https://github.com/cloudentity/go-swagger/pull/1108) ([sapk](https://github.com/sapk)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.13.0.md b/notes/v0.13.0.md index 5ff916d42..09006ee6e 100644 --- a/notes/v0.13.0.md +++ b/notes/v0.13.0.md @@ -1,83 +1,83 @@ # Change Log -## [0.13.0](https://github.com/go-swagger/go-swagger/tree/0.13.0) (2017-11-11) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.12.0...0.13.0) +## [0.13.0](https://github.com/cloudentity/go-swagger/tree/0.13.0) (2017-11-11) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.12.0...0.13.0) **Fixed bugs:** -- MaxLength for file in form data is not being enforced. [\#1153](https://github.com/go-swagger/go-swagger/issues/1153) -- x-nullable for array values doesn't have any effect [\#774](https://github.com/go-swagger/go-swagger/issues/774) +- MaxLength for file in form data is not being enforced. [\#1153](https://github.com/cloudentity/go-swagger/issues/1153) +- x-nullable for array values doesn't have any effect [\#774](https://github.com/cloudentity/go-swagger/issues/774) **Closed issues:** -- Generating spec from generated server broken? [\#1246](https://github.com/go-swagger/go-swagger/issues/1246) -- Server does not validate array type data [\#1245](https://github.com/go-swagger/go-swagger/issues/1245) -- How to make parameters to lower case? [\#1242](https://github.com/go-swagger/go-swagger/issues/1242) -- Unable to define parameters from URL path [\#1236](https://github.com/go-swagger/go-swagger/issues/1236) -- How to get http.ResponseWriter in the generated code [\#1229](https://github.com/go-swagger/go-swagger/issues/1229) -- time.Time fields doesn't get "type" assigned [\#1226](https://github.com/go-swagger/go-swagger/issues/1226) -- client generator expects x-class in a different place than is documented [\#1221](https://github.com/go-swagger/go-swagger/issues/1221) -- Model file cannot compile when a string field has both date format and maxLength [\#1220](https://github.com/go-swagger/go-swagger/issues/1220) -- Compiler error from model when pascalized discriminator matches definition name [\#1216](https://github.com/go-swagger/go-swagger/issues/1216) -- Body not being written to request on put [\#1213](https://github.com/go-swagger/go-swagger/issues/1213) -- Any example of oauth2 authentication by google account [\#1212](https://github.com/go-swagger/go-swagger/issues/1212) -- swagger specification validate failed at: types don't match expect map key string or int got: bool [\#1209](https://github.com/go-swagger/go-swagger/issues/1209) -- Invalid parameter sequence in parameters scanner [\#1207](https://github.com/go-swagger/go-swagger/issues/1207) -- Non required array is not marked as omitempty [\#1206](https://github.com/go-swagger/go-swagger/issues/1206) -- go run petstore got error [\#1204](https://github.com/go-swagger/go-swagger/issues/1204) -- Awkward filenames are generated for some uppercase names [\#1202](https://github.com/go-swagger/go-swagger/issues/1202) -- Body is written to request even when it's empty [\#1199](https://github.com/go-swagger/go-swagger/issues/1199) -- Generated code does not compile: "cannot convert nil to" [\#1197](https://github.com/go-swagger/go-swagger/issues/1197) -- Generate with principal from a vendored package [\#1196](https://github.com/go-swagger/go-swagger/issues/1196) -- Panics on attempt to generate server [\#1192](https://github.com/go-swagger/go-swagger/issues/1192) -- Override client template parameters.gotmpl [\#1190](https://github.com/go-swagger/go-swagger/issues/1190) -- Return error to server [\#1186](https://github.com/go-swagger/go-swagger/issues/1186) -- `swagger generate client` panics [\#1181](https://github.com/go-swagger/go-swagger/issues/1181) -- Recent JSON Marshal/Unmarshal commit broke JSON body parsing [\#1177](https://github.com/go-swagger/go-swagger/issues/1177) -- some codepaths in server generation assume "./src" while other assume "./" [\#1176](https://github.com/go-swagger/go-swagger/issues/1176) -- Composite Model Generated Structs have changed [\#1172](https://github.com/go-swagger/go-swagger/issues/1172) -- How to get the route name from the handler [\#1168](https://github.com/go-swagger/go-swagger/issues/1168) -- `go-openapi/runtime` introduces backwards incompatible API change [\#1165](https://github.com/go-swagger/go-swagger/issues/1165) -- brew installed binary out of date [\#1162](https://github.com/go-swagger/go-swagger/issues/1162) -- Swager generate panic - commit \#e2bfe4232707b33df6e46519f71f5d22cc6bf63b [\#1158](https://github.com/go-swagger/go-swagger/issues/1158) -- requried doesn't validate params unless the schema is in a definition [\#1147](https://github.com/go-swagger/go-swagger/issues/1147) -- Default value doesn't seem to work [\#1146](https://github.com/go-swagger/go-swagger/issues/1146) -- panic: open pet: no such file or directory [\#1134](https://github.com/go-swagger/go-swagger/issues/1134) -- Generated clients should return errors in all error cases instead of panicking [\#1021](https://github.com/go-swagger/go-swagger/issues/1021) +- Generating spec from generated server broken? [\#1246](https://github.com/cloudentity/go-swagger/issues/1246) +- Server does not validate array type data [\#1245](https://github.com/cloudentity/go-swagger/issues/1245) +- How to make parameters to lower case? [\#1242](https://github.com/cloudentity/go-swagger/issues/1242) +- Unable to define parameters from URL path [\#1236](https://github.com/cloudentity/go-swagger/issues/1236) +- How to get http.ResponseWriter in the generated code [\#1229](https://github.com/cloudentity/go-swagger/issues/1229) +- time.Time fields doesn't get "type" assigned [\#1226](https://github.com/cloudentity/go-swagger/issues/1226) +- client generator expects x-class in a different place than is documented [\#1221](https://github.com/cloudentity/go-swagger/issues/1221) +- Model file cannot compile when a string field has both date format and maxLength [\#1220](https://github.com/cloudentity/go-swagger/issues/1220) +- Compiler error from model when pascalized discriminator matches definition name [\#1216](https://github.com/cloudentity/go-swagger/issues/1216) +- Body not being written to request on put [\#1213](https://github.com/cloudentity/go-swagger/issues/1213) +- Any example of oauth2 authentication by google account [\#1212](https://github.com/cloudentity/go-swagger/issues/1212) +- swagger specification validate failed at: types don't match expect map key string or int got: bool [\#1209](https://github.com/cloudentity/go-swagger/issues/1209) +- Invalid parameter sequence in parameters scanner [\#1207](https://github.com/cloudentity/go-swagger/issues/1207) +- Non required array is not marked as omitempty [\#1206](https://github.com/cloudentity/go-swagger/issues/1206) +- go run petstore got error [\#1204](https://github.com/cloudentity/go-swagger/issues/1204) +- Awkward filenames are generated for some uppercase names [\#1202](https://github.com/cloudentity/go-swagger/issues/1202) +- Body is written to request even when it's empty [\#1199](https://github.com/cloudentity/go-swagger/issues/1199) +- Generated code does not compile: "cannot convert nil to" [\#1197](https://github.com/cloudentity/go-swagger/issues/1197) +- Generate with principal from a vendored package [\#1196](https://github.com/cloudentity/go-swagger/issues/1196) +- Panics on attempt to generate server [\#1192](https://github.com/cloudentity/go-swagger/issues/1192) +- Override client template parameters.gotmpl [\#1190](https://github.com/cloudentity/go-swagger/issues/1190) +- Return error to server [\#1186](https://github.com/cloudentity/go-swagger/issues/1186) +- `swagger generate client` panics [\#1181](https://github.com/cloudentity/go-swagger/issues/1181) +- Recent JSON Marshal/Unmarshal commit broke JSON body parsing [\#1177](https://github.com/cloudentity/go-swagger/issues/1177) +- some codepaths in server generation assume "./src" while other assume "./" [\#1176](https://github.com/cloudentity/go-swagger/issues/1176) +- Composite Model Generated Structs have changed [\#1172](https://github.com/cloudentity/go-swagger/issues/1172) +- How to get the route name from the handler [\#1168](https://github.com/cloudentity/go-swagger/issues/1168) +- `go-openapi/runtime` introduces backwards incompatible API change [\#1165](https://github.com/cloudentity/go-swagger/issues/1165) +- brew installed binary out of date [\#1162](https://github.com/cloudentity/go-swagger/issues/1162) +- Swager generate panic - commit \#e2bfe4232707b33df6e46519f71f5d22cc6bf63b [\#1158](https://github.com/cloudentity/go-swagger/issues/1158) +- requried doesn't validate params unless the schema is in a definition [\#1147](https://github.com/cloudentity/go-swagger/issues/1147) +- Default value doesn't seem to work [\#1146](https://github.com/cloudentity/go-swagger/issues/1146) +- panic: open pet: no such file or directory [\#1134](https://github.com/cloudentity/go-swagger/issues/1134) +- Generated clients should return errors in all error cases instead of panicking [\#1021](https://github.com/cloudentity/go-swagger/issues/1021) **Merged pull requests:** -- update vendor and examples [\#1262](https://github.com/go-swagger/go-swagger/pull/1262) ([casualjim](https://github.com/casualjim)) -- check for child isinterface [\#1257](https://github.com/go-swagger/go-swagger/pull/1257) ([e-zhang](https://github.com/e-zhang)) -- Escape '\*/' within generated comment blocks [\#1255](https://github.com/go-swagger/go-swagger/pull/1255) ([elakito](https://github.com/elakito)) -- update vendor [\#1253](https://github.com/go-swagger/go-swagger/pull/1253) ([kreamyx](https://github.com/kreamyx)) -- array validations [\#1252](https://github.com/go-swagger/go-swagger/pull/1252) ([kreamyx](https://github.com/kreamyx)) -- Remove print statements [\#1251](https://github.com/go-swagger/go-swagger/pull/1251) ([ethantkoenig](https://github.com/ethantkoenig)) -- Remove Content-Type for empty responses [\#1249](https://github.com/go-swagger/go-swagger/pull/1249) ([databus23](https://github.com/databus23)) -- Add support for example values [\#1248](https://github.com/go-swagger/go-swagger/pull/1248) ([ethantkoenig](https://github.com/ethantkoenig)) -- Add json tag to HTTPRequest field in generated params [\#1247](https://github.com/go-swagger/go-swagger/pull/1247) ([databus23](https://github.com/databus23)) -- added support for maxLength and minLength for file parameters [\#1241](https://github.com/go-swagger/go-swagger/pull/1241) ([kreamyx](https://github.com/kreamyx)) -- update vendor [\#1239](https://github.com/go-swagger/go-swagger/pull/1239) ([casualjim](https://github.com/casualjim)) -- handle time.Time properly during parsing go source files [\#1235](https://github.com/go-swagger/go-swagger/pull/1235) ([kreamyx](https://github.com/kreamyx)) -- fix request body parameter template [\#1230](https://github.com/go-swagger/go-swagger/pull/1230) ([kreamyx](https://github.com/kreamyx)) -- Update verbiage on todo-list tutorial [\#1225](https://github.com/go-swagger/go-swagger/pull/1225) ([jcabmora](https://github.com/jcabmora)) -- remove petstore panic [\#1224](https://github.com/go-swagger/go-swagger/pull/1224) ([kreamyx](https://github.com/kreamyx)) -- handle model property conflicts when format is "date" or "datetime" [\#1223](https://github.com/go-swagger/go-swagger/pull/1223) ([kreamyx](https://github.com/kreamyx)) -- Add extensions available for models [\#1222](https://github.com/go-swagger/go-swagger/pull/1222) ([olegmar](https://github.com/olegmar)) -- oauth2 authentication example [\#1219](https://github.com/go-swagger/go-swagger/pull/1219) ([huikang](https://github.com/huikang)) -- Fix model generation on discriminator conflict [\#1218](https://github.com/go-swagger/go-swagger/pull/1218) ([grim-luminal](https://github.com/grim-luminal)) -- Support adding Vendor Extensions to Infos [\#1215](https://github.com/go-swagger/go-swagger/pull/1215) ([fmauNeko](https://github.com/fmauNeko)) -- Only write body to request when the body is not nil [\#1200](https://github.com/go-swagger/go-swagger/pull/1200) ([marclop](https://github.com/marclop)) -- Added x-omitempty extension to fix \#774 [\#1189](https://github.com/go-swagger/go-swagger/pull/1189) ([akhobov](https://github.com/akhobov)) -- Fix double the typo [\#1185](https://github.com/go-swagger/go-swagger/pull/1185) ([ethantkoenig](https://github.com/ethantkoenig)) -- 1. supported custom swagger data type \#1183 [\#1184](https://github.com/go-swagger/go-swagger/pull/1184) ([imiskolee](https://github.com/imiskolee)) -- Minor doc change configure\_xxx.go [\#1182](https://github.com/go-swagger/go-swagger/pull/1182) ([aheuermann](https://github.com/aheuermann)) -- Updates vendor dep for go-openapi/validate [\#1180](https://github.com/go-swagger/go-swagger/pull/1180) ([EleanorRigby](https://github.com/EleanorRigby)) -- Fix generated codes for tuple [\#1179](https://github.com/go-swagger/go-swagger/pull/1179) ([koron](https://github.com/koron)) -- Revert "Adds Text Marshal/Unmarshal to model objects. Add String\(\) interface" [\#1178](https://github.com/go-swagger/go-swagger/pull/1178) ([EleanorRigby](https://github.com/EleanorRigby)) -- Adds Text Marshal/Unmarshal to model objects. Add String\(\) interface [\#1175](https://github.com/go-swagger/go-swagger/pull/1175) ([EleanorRigby](https://github.com/EleanorRigby)) -- Add skip-flatten flag to generate server, client and operation [\#1173](https://github.com/go-swagger/go-swagger/pull/1173) ([EleanorRigby](https://github.com/EleanorRigby)) -- Expands spec before generation correctly [\#1167](https://github.com/go-swagger/go-swagger/pull/1167) ([EleanorRigby](https://github.com/EleanorRigby)) -- fix a typo in layout description [\#1166](https://github.com/go-swagger/go-swagger/pull/1166) ([allencloud](https://github.com/allencloud)) +- update vendor and examples [\#1262](https://github.com/cloudentity/go-swagger/pull/1262) ([casualjim](https://github.com/casualjim)) +- check for child isinterface [\#1257](https://github.com/cloudentity/go-swagger/pull/1257) ([e-zhang](https://github.com/e-zhang)) +- Escape '\*/' within generated comment blocks [\#1255](https://github.com/cloudentity/go-swagger/pull/1255) ([elakito](https://github.com/elakito)) +- update vendor [\#1253](https://github.com/cloudentity/go-swagger/pull/1253) ([kreamyx](https://github.com/kreamyx)) +- array validations [\#1252](https://github.com/cloudentity/go-swagger/pull/1252) ([kreamyx](https://github.com/kreamyx)) +- Remove print statements [\#1251](https://github.com/cloudentity/go-swagger/pull/1251) ([ethantkoenig](https://github.com/ethantkoenig)) +- Remove Content-Type for empty responses [\#1249](https://github.com/cloudentity/go-swagger/pull/1249) ([databus23](https://github.com/databus23)) +- Add support for example values [\#1248](https://github.com/cloudentity/go-swagger/pull/1248) ([ethantkoenig](https://github.com/ethantkoenig)) +- Add json tag to HTTPRequest field in generated params [\#1247](https://github.com/cloudentity/go-swagger/pull/1247) ([databus23](https://github.com/databus23)) +- added support for maxLength and minLength for file parameters [\#1241](https://github.com/cloudentity/go-swagger/pull/1241) ([kreamyx](https://github.com/kreamyx)) +- update vendor [\#1239](https://github.com/cloudentity/go-swagger/pull/1239) ([casualjim](https://github.com/casualjim)) +- handle time.Time properly during parsing go source files [\#1235](https://github.com/cloudentity/go-swagger/pull/1235) ([kreamyx](https://github.com/kreamyx)) +- fix request body parameter template [\#1230](https://github.com/cloudentity/go-swagger/pull/1230) ([kreamyx](https://github.com/kreamyx)) +- Update verbiage on todo-list tutorial [\#1225](https://github.com/cloudentity/go-swagger/pull/1225) ([jcabmora](https://github.com/jcabmora)) +- remove petstore panic [\#1224](https://github.com/cloudentity/go-swagger/pull/1224) ([kreamyx](https://github.com/kreamyx)) +- handle model property conflicts when format is "date" or "datetime" [\#1223](https://github.com/cloudentity/go-swagger/pull/1223) ([kreamyx](https://github.com/kreamyx)) +- Add extensions available for models [\#1222](https://github.com/cloudentity/go-swagger/pull/1222) ([olegmar](https://github.com/olegmar)) +- oauth2 authentication example [\#1219](https://github.com/cloudentity/go-swagger/pull/1219) ([huikang](https://github.com/huikang)) +- Fix model generation on discriminator conflict [\#1218](https://github.com/cloudentity/go-swagger/pull/1218) ([grim-luminal](https://github.com/grim-luminal)) +- Support adding Vendor Extensions to Infos [\#1215](https://github.com/cloudentity/go-swagger/pull/1215) ([fmauNeko](https://github.com/fmauNeko)) +- Only write body to request when the body is not nil [\#1200](https://github.com/cloudentity/go-swagger/pull/1200) ([marclop](https://github.com/marclop)) +- Added x-omitempty extension to fix \#774 [\#1189](https://github.com/cloudentity/go-swagger/pull/1189) ([akhobov](https://github.com/akhobov)) +- Fix double the typo [\#1185](https://github.com/cloudentity/go-swagger/pull/1185) ([ethantkoenig](https://github.com/ethantkoenig)) +- 1. supported custom swagger data type \#1183 [\#1184](https://github.com/cloudentity/go-swagger/pull/1184) ([imiskolee](https://github.com/imiskolee)) +- Minor doc change configure\_xxx.go [\#1182](https://github.com/cloudentity/go-swagger/pull/1182) ([aheuermann](https://github.com/aheuermann)) +- Updates vendor dep for go-openapi/validate [\#1180](https://github.com/cloudentity/go-swagger/pull/1180) ([EleanorRigby](https://github.com/EleanorRigby)) +- Fix generated codes for tuple [\#1179](https://github.com/cloudentity/go-swagger/pull/1179) ([koron](https://github.com/koron)) +- Revert "Adds Text Marshal/Unmarshal to model objects. Add String\(\) interface" [\#1178](https://github.com/cloudentity/go-swagger/pull/1178) ([EleanorRigby](https://github.com/EleanorRigby)) +- Adds Text Marshal/Unmarshal to model objects. Add String\(\) interface [\#1175](https://github.com/cloudentity/go-swagger/pull/1175) ([EleanorRigby](https://github.com/EleanorRigby)) +- Add skip-flatten flag to generate server, client and operation [\#1173](https://github.com/cloudentity/go-swagger/pull/1173) ([EleanorRigby](https://github.com/EleanorRigby)) +- Expands spec before generation correctly [\#1167](https://github.com/cloudentity/go-swagger/pull/1167) ([EleanorRigby](https://github.com/EleanorRigby)) +- fix a typo in layout description [\#1166](https://github.com/cloudentity/go-swagger/pull/1166) ([allencloud](https://github.com/allencloud)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/notes/v0.14.0.md b/notes/v0.14.0.md index 472cf9b60..f0e30b2f3 100644 --- a/notes/v0.14.0.md +++ b/notes/v0.14.0.md @@ -1,234 +1,234 @@ # Change Log -## [0.14.0](https://github.com/go-swagger/go-swagger/tree/0.14.0) (2018-05-25) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.13.0...0.14.0) +## [0.14.0](https://github.com/cloudentity/go-swagger/tree/0.14.0) (2018-05-25) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.13.0...0.14.0) **Implemented enhancements:** -- Multipart with no file causes InternalServerError [\#1400](https://github.com/go-swagger/go-swagger/issues/1400) -- Generated configure file has confusing directions. [\#1384](https://github.com/go-swagger/go-swagger/issues/1384) -- Quiet mode and log redirection [\#1370](https://github.com/go-swagger/go-swagger/issues/1370) -- Custom templating: custom templates not associated with non-asset dependencies [\#1362](https://github.com/go-swagger/go-swagger/issues/1362) -- How to generate a correct struct file name from "\#/definitions/IPAM" [\#1344](https://github.com/go-swagger/go-swagger/issues/1344) -- Shutdown method on server do not close the server [\#1316](https://github.com/go-swagger/go-swagger/issues/1316) -- Enhancement: multiple instances of error messages for invalid spec [\#1307](https://github.com/go-swagger/go-swagger/issues/1307) -- Allow adding/overriding Consumers and Producers [\#1301](https://github.com/go-swagger/go-swagger/issues/1301) -- Invalid recursive type [\#1277](https://github.com/go-swagger/go-swagger/issues/1277) -- Examples are not validated [\#1231](https://github.com/go-swagger/go-swagger/issues/1231) -- Security definition order is not consistent between code generations [\#1214](https://github.com/go-swagger/go-swagger/issues/1214) -- Security only supports "OR" logic, not "AND" [\#1089](https://github.com/go-swagger/go-swagger/issues/1089) -- swagger validate: the need for better error messages [\#859](https://github.com/go-swagger/go-swagger/issues/859) -- max int64 and uint64 handling [\#581](https://github.com/go-swagger/go-swagger/issues/581) -- implement validation: unique scopes in security reference [\#14](https://github.com/go-swagger/go-swagger/issues/14) +- Multipart with no file causes InternalServerError [\#1400](https://github.com/cloudentity/go-swagger/issues/1400) +- Generated configure file has confusing directions. [\#1384](https://github.com/cloudentity/go-swagger/issues/1384) +- Quiet mode and log redirection [\#1370](https://github.com/cloudentity/go-swagger/issues/1370) +- Custom templating: custom templates not associated with non-asset dependencies [\#1362](https://github.com/cloudentity/go-swagger/issues/1362) +- How to generate a correct struct file name from "\#/definitions/IPAM" [\#1344](https://github.com/cloudentity/go-swagger/issues/1344) +- Shutdown method on server do not close the server [\#1316](https://github.com/cloudentity/go-swagger/issues/1316) +- Enhancement: multiple instances of error messages for invalid spec [\#1307](https://github.com/cloudentity/go-swagger/issues/1307) +- Allow adding/overriding Consumers and Producers [\#1301](https://github.com/cloudentity/go-swagger/issues/1301) +- Invalid recursive type [\#1277](https://github.com/cloudentity/go-swagger/issues/1277) +- Examples are not validated [\#1231](https://github.com/cloudentity/go-swagger/issues/1231) +- Security definition order is not consistent between code generations [\#1214](https://github.com/cloudentity/go-swagger/issues/1214) +- Security only supports "OR" logic, not "AND" [\#1089](https://github.com/cloudentity/go-swagger/issues/1089) +- swagger validate: the need for better error messages [\#859](https://github.com/cloudentity/go-swagger/issues/859) +- max int64 and uint64 handling [\#581](https://github.com/cloudentity/go-swagger/issues/581) +- implement validation: unique scopes in security reference [\#14](https://github.com/cloudentity/go-swagger/issues/14) **Fixed bugs:** -- No validation is called when the object referring to the array type parameter [\#1537](https://github.com/go-swagger/go-swagger/issues/1537) -- Body params that are Arrays of Objects generate un-compilable code due to Validate method [\#1536](https://github.com/go-swagger/go-swagger/issues/1536) -- Allof with a polymorphic type can have conflicting field names [\#1532](https://github.com/go-swagger/go-swagger/issues/1532) -- Nested tuple is not validated [\#1487](https://github.com/go-swagger/go-swagger/issues/1487) -- Generated validation method miss some fields [\#1479](https://github.com/go-swagger/go-swagger/issues/1479) -- mixin removes securityDefinitions [\#1471](https://github.com/go-swagger/go-swagger/issues/1471) -- Invalid code generation with AdditionalProperties [\#1453](https://github.com/go-swagger/go-swagger/issues/1453) -- Simple aliased model type does not validate format [\#1437](https://github.com/go-swagger/go-swagger/issues/1437) -- Generator does not support polymorphic and addl props in the same type. [\#1409](https://github.com/go-swagger/go-swagger/issues/1409) -- responses with external $ref thrown nil pointer dereference [\#1406](https://github.com/go-swagger/go-swagger/issues/1406) -- Required properties are not validated when additionalProperties: true is provided [\#1397](https://github.com/go-swagger/go-swagger/issues/1397) -- No validation is called on body of array type parameter. [\#1392](https://github.com/go-swagger/go-swagger/issues/1392) -- server generation chokes on flattened definitions [\#1388](https://github.com/go-swagger/go-swagger/issues/1388) -- Default values for simple arrays generate code that does not compile [\#1378](https://github.com/go-swagger/go-swagger/issues/1378) -- Codegen fixture \[discriminators\] produces code that doesn't compile [\#1376](https://github.com/go-swagger/go-swagger/issues/1376) -- Generated server with form-data required=false evaluates file to nil [\#1373](https://github.com/go-swagger/go-swagger/issues/1373) -- --dump-data no longer working [\#1356](https://github.com/go-swagger/go-swagger/issues/1356) -- `--skip-validator` not work for `swagger generate model` [\#1354](https://github.com/go-swagger/go-swagger/issues/1354) -- \[feedback\] format mac does not work in swagger:strfmt [\#1348](https://github.com/go-swagger/go-swagger/issues/1348) -- Why not validate not required field even if it has format [\#1347](https://github.com/go-swagger/go-swagger/issues/1347) -- JSON marshaling and unmarshaling broken for object containing array of polymorphic types. [\#1336](https://github.com/go-swagger/go-swagger/issues/1336) -- Temporary files are not deleted on program termination [\#1331](https://github.com/go-swagger/go-swagger/issues/1331) -- Invalid receiver error for a response of type `file` [\#1327](https://github.com/go-swagger/go-swagger/issues/1327) -- ressource id type array leads to invalid generated code [\#1314](https://github.com/go-swagger/go-swagger/issues/1314) -- Generated client parameter does not set request body for arbitrary object. [\#1309](https://github.com/go-swagger/go-swagger/issues/1309) -- nested properties [\#1296](https://github.com/go-swagger/go-swagger/issues/1296) -- embedded spec discards information from original spec [\#1281](https://github.com/go-swagger/go-swagger/issues/1281) -- BodyParam of type array doesn't properly generate client code [\#1280](https://github.com/go-swagger/go-swagger/issues/1280) -- swagger flatten generates invalid spec [\#1270](https://github.com/go-swagger/go-swagger/issues/1270) -- Server generation: open 'xxx.json/yyy.json' no such file or directory \[cascading $ref\] [\#1259](https://github.com/go-swagger/go-swagger/issues/1259) -- Server generation: object has no key \[cascading $ref\] [\#1258](https://github.com/go-swagger/go-swagger/issues/1258) -- Type ref don't contain value check [\#1237](https://github.com/go-swagger/go-swagger/issues/1237) -- Examples are not validated [\#1231](https://github.com/go-swagger/go-swagger/issues/1231) -- Codegen generates invalid go code for `additionalProperties: true` [\#1198](https://github.com/go-swagger/go-swagger/issues/1198) -- Invalid server code generated for file response [\#1195](https://github.com/go-swagger/go-swagger/issues/1195) -- Adding length to a string with `uri` format will result i unworkable generated code [\#1191](https://github.com/go-swagger/go-swagger/issues/1191) -- Client requires non-required field for validation. [\#1187](https://github.com/go-swagger/go-swagger/issues/1187) -- Generated code does not handle 307 redirects properly [\#1170](https://github.com/go-swagger/go-swagger/issues/1170) -- Problem with datetime format [\#1084](https://github.com/go-swagger/go-swagger/issues/1084) -- Valid struct is not generated [\#1066](https://github.com/go-swagger/go-swagger/issues/1066) -- Client generation fails with `object has no key "UserBase"` [\#1065](https://github.com/go-swagger/go-swagger/issues/1065) -- Missing declarations and invalid code [\#1062](https://github.com/go-swagger/go-swagger/issues/1062) -- dot symbol in the path cause problems [\#1050](https://github.com/go-swagger/go-swagger/issues/1050) -- Missing fields in generated marshaler/unmarshaler when the object extends other objects [\#1042](https://github.com/go-swagger/go-swagger/issues/1042) -- referenced path item cause an error [\#1034](https://github.com/go-swagger/go-swagger/issues/1034) -- Response examples break definition references [\#1013](https://github.com/go-swagger/go-swagger/issues/1013) -- incorrect API response if using allof ref [\#979](https://github.com/go-swagger/go-swagger/issues/979) -- swagger GSMA [\#951](https://github.com/go-swagger/go-swagger/issues/951) -- Generated server marks all parameters in response as required [\#910](https://github.com/go-swagger/go-swagger/issues/910) -- UUIDs do not appear to be validated [\#909](https://github.com/go-swagger/go-swagger/issues/909) -- Resolver does not expand relative path references [\#890](https://github.com/go-swagger/go-swagger/issues/890) -- Generator don't generates validation for embended models [\#866](https://github.com/go-swagger/go-swagger/issues/866) -- Non-compiling generated code when parameter is array type with enum validation and underscore in name [\#863](https://github.com/go-swagger/go-swagger/issues/863) -- handler in todo-list tutorial doesn't match the example code [\#858](https://github.com/go-swagger/go-swagger/issues/858) -- Multiple validation errors results in only one validation being shown in response [\#667](https://github.com/go-swagger/go-swagger/issues/667) -- Broken model code generated for polymorphic swagger types that have lists of non-concrete types. [\#607](https://github.com/go-swagger/go-swagger/issues/607) -- Missing Validate method on polymorphic/discriminator types [\#606](https://github.com/go-swagger/go-swagger/issues/606) -- Code generation error for binary stream producer, consumer [\#533](https://github.com/go-swagger/go-swagger/issues/533) +- No validation is called when the object referring to the array type parameter [\#1537](https://github.com/cloudentity/go-swagger/issues/1537) +- Body params that are Arrays of Objects generate un-compilable code due to Validate method [\#1536](https://github.com/cloudentity/go-swagger/issues/1536) +- Allof with a polymorphic type can have conflicting field names [\#1532](https://github.com/cloudentity/go-swagger/issues/1532) +- Nested tuple is not validated [\#1487](https://github.com/cloudentity/go-swagger/issues/1487) +- Generated validation method miss some fields [\#1479](https://github.com/cloudentity/go-swagger/issues/1479) +- mixin removes securityDefinitions [\#1471](https://github.com/cloudentity/go-swagger/issues/1471) +- Invalid code generation with AdditionalProperties [\#1453](https://github.com/cloudentity/go-swagger/issues/1453) +- Simple aliased model type does not validate format [\#1437](https://github.com/cloudentity/go-swagger/issues/1437) +- Generator does not support polymorphic and addl props in the same type. [\#1409](https://github.com/cloudentity/go-swagger/issues/1409) +- responses with external $ref thrown nil pointer dereference [\#1406](https://github.com/cloudentity/go-swagger/issues/1406) +- Required properties are not validated when additionalProperties: true is provided [\#1397](https://github.com/cloudentity/go-swagger/issues/1397) +- No validation is called on body of array type parameter. [\#1392](https://github.com/cloudentity/go-swagger/issues/1392) +- server generation chokes on flattened definitions [\#1388](https://github.com/cloudentity/go-swagger/issues/1388) +- Default values for simple arrays generate code that does not compile [\#1378](https://github.com/cloudentity/go-swagger/issues/1378) +- Codegen fixture \[discriminators\] produces code that doesn't compile [\#1376](https://github.com/cloudentity/go-swagger/issues/1376) +- Generated server with form-data required=false evaluates file to nil [\#1373](https://github.com/cloudentity/go-swagger/issues/1373) +- --dump-data no longer working [\#1356](https://github.com/cloudentity/go-swagger/issues/1356) +- `--skip-validator` not work for `swagger generate model` [\#1354](https://github.com/cloudentity/go-swagger/issues/1354) +- \[feedback\] format mac does not work in swagger:strfmt [\#1348](https://github.com/cloudentity/go-swagger/issues/1348) +- Why not validate not required field even if it has format [\#1347](https://github.com/cloudentity/go-swagger/issues/1347) +- JSON marshaling and unmarshaling broken for object containing array of polymorphic types. [\#1336](https://github.com/cloudentity/go-swagger/issues/1336) +- Temporary files are not deleted on program termination [\#1331](https://github.com/cloudentity/go-swagger/issues/1331) +- Invalid receiver error for a response of type `file` [\#1327](https://github.com/cloudentity/go-swagger/issues/1327) +- ressource id type array leads to invalid generated code [\#1314](https://github.com/cloudentity/go-swagger/issues/1314) +- Generated client parameter does not set request body for arbitrary object. [\#1309](https://github.com/cloudentity/go-swagger/issues/1309) +- nested properties [\#1296](https://github.com/cloudentity/go-swagger/issues/1296) +- embedded spec discards information from original spec [\#1281](https://github.com/cloudentity/go-swagger/issues/1281) +- BodyParam of type array doesn't properly generate client code [\#1280](https://github.com/cloudentity/go-swagger/issues/1280) +- swagger flatten generates invalid spec [\#1270](https://github.com/cloudentity/go-swagger/issues/1270) +- Server generation: open 'xxx.json/yyy.json' no such file or directory \[cascading $ref\] [\#1259](https://github.com/cloudentity/go-swagger/issues/1259) +- Server generation: object has no key \[cascading $ref\] [\#1258](https://github.com/cloudentity/go-swagger/issues/1258) +- Type ref don't contain value check [\#1237](https://github.com/cloudentity/go-swagger/issues/1237) +- Examples are not validated [\#1231](https://github.com/cloudentity/go-swagger/issues/1231) +- Codegen generates invalid go code for `additionalProperties: true` [\#1198](https://github.com/cloudentity/go-swagger/issues/1198) +- Invalid server code generated for file response [\#1195](https://github.com/cloudentity/go-swagger/issues/1195) +- Adding length to a string with `uri` format will result i unworkable generated code [\#1191](https://github.com/cloudentity/go-swagger/issues/1191) +- Client requires non-required field for validation. [\#1187](https://github.com/cloudentity/go-swagger/issues/1187) +- Generated code does not handle 307 redirects properly [\#1170](https://github.com/cloudentity/go-swagger/issues/1170) +- Problem with datetime format [\#1084](https://github.com/cloudentity/go-swagger/issues/1084) +- Valid struct is not generated [\#1066](https://github.com/cloudentity/go-swagger/issues/1066) +- Client generation fails with `object has no key "UserBase"` [\#1065](https://github.com/cloudentity/go-swagger/issues/1065) +- Missing declarations and invalid code [\#1062](https://github.com/cloudentity/go-swagger/issues/1062) +- dot symbol in the path cause problems [\#1050](https://github.com/cloudentity/go-swagger/issues/1050) +- Missing fields in generated marshaler/unmarshaler when the object extends other objects [\#1042](https://github.com/cloudentity/go-swagger/issues/1042) +- referenced path item cause an error [\#1034](https://github.com/cloudentity/go-swagger/issues/1034) +- Response examples break definition references [\#1013](https://github.com/cloudentity/go-swagger/issues/1013) +- incorrect API response if using allof ref [\#979](https://github.com/cloudentity/go-swagger/issues/979) +- swagger GSMA [\#951](https://github.com/cloudentity/go-swagger/issues/951) +- Generated server marks all parameters in response as required [\#910](https://github.com/cloudentity/go-swagger/issues/910) +- UUIDs do not appear to be validated [\#909](https://github.com/cloudentity/go-swagger/issues/909) +- Resolver does not expand relative path references [\#890](https://github.com/cloudentity/go-swagger/issues/890) +- Generator don't generates validation for embended models [\#866](https://github.com/cloudentity/go-swagger/issues/866) +- Non-compiling generated code when parameter is array type with enum validation and underscore in name [\#863](https://github.com/cloudentity/go-swagger/issues/863) +- handler in todo-list tutorial doesn't match the example code [\#858](https://github.com/cloudentity/go-swagger/issues/858) +- Multiple validation errors results in only one validation being shown in response [\#667](https://github.com/cloudentity/go-swagger/issues/667) +- Broken model code generated for polymorphic swagger types that have lists of non-concrete types. [\#607](https://github.com/cloudentity/go-swagger/issues/607) +- Missing Validate method on polymorphic/discriminator types [\#606](https://github.com/cloudentity/go-swagger/issues/606) +- Code generation error for binary stream producer, consumer [\#533](https://github.com/cloudentity/go-swagger/issues/533) **Closed issues:** -- `swagger validate` fails to complete when referencing another file [\#1535](https://github.com/go-swagger/go-swagger/issues/1535) -- Go vendors dependencies: Cannot use a generated client in a server [\#1534](https://github.com/go-swagger/go-swagger/issues/1534) -- Embedded spec is not flattened and won't work if there are external references. [\#1528](https://github.com/go-swagger/go-swagger/issues/1528) -- How to print the error message in response sample using "swagger:response" tag [\#1526](https://github.com/go-swagger/go-swagger/issues/1526) -- Response schema of type array being aliased [\#1524](https://github.com/go-swagger/go-swagger/issues/1524) -- Validating a Standard spec [\#1522](https://github.com/go-swagger/go-swagger/issues/1522) -- Client parameters don't set body when model is an enum [\#1513](https://github.com/go-swagger/go-swagger/issues/1513) -- Spec generation doesn't honour the ",string" JSON struct tag [\#1510](https://github.com/go-swagger/go-swagger/issues/1510) -- How to add static sections? [\#1509](https://github.com/go-swagger/go-swagger/issues/1509) -- Type mismatch in flatten source [\#1504](https://github.com/go-swagger/go-swagger/issues/1504) -- Not possible to hide individual struct fields [\#1497](https://github.com/go-swagger/go-swagger/issues/1497) -- strfmt.Datetime how to omit when empty, nil or time.Time{} [\#1491](https://github.com/go-swagger/go-swagger/issues/1491) -- Breaking change in Authenticator runtime [\#1488](https://github.com/go-swagger/go-swagger/issues/1488) -- Request model is not loading in swagger [\#1476](https://github.com/go-swagger/go-swagger/issues/1476) -- Unable to generate Swagger spec [\#1475](https://github.com/go-swagger/go-swagger/issues/1475) -- Passing empty slice as parameter results in panic [\#1462](https://github.com/go-swagger/go-swagger/issues/1462) -- malloc deadlock [\#1454](https://github.com/go-swagger/go-swagger/issues/1454) -- Support for optional auth? [\#1446](https://github.com/go-swagger/go-swagger/issues/1446) -- Optional SSN field performs no validation [\#1434](https://github.com/go-swagger/go-swagger/issues/1434) -- Possible to have models in Subdirectory? [\#1428](https://github.com/go-swagger/go-swagger/issues/1428) -- Do we have to specifically allow HEAD requests? [\#1426](https://github.com/go-swagger/go-swagger/issues/1426) -- How to pass TLS structure from net.HttpRequest into my handler? [\#1423](https://github.com/go-swagger/go-swagger/issues/1423) -- Undefined variable "filterI" presents after code generation when using nested "collectionFormat": "csv" [\#1414](https://github.com/go-swagger/go-swagger/issues/1414) -- New feature to allow Parameters section [\#1404](https://github.com/go-swagger/go-swagger/issues/1404) -- flatten command remove the empty security properties [\#1396](https://github.com/go-swagger/go-swagger/issues/1396) -- Getting duplicate Definitions under 0.13 [\#1385](https://github.com/go-swagger/go-swagger/issues/1385) -- Add Title generation for info part of spec. [\#1382](https://github.com/go-swagger/go-swagger/issues/1382) -- package and file name contain underscore \(after a change in go-swagger\) [\#1380](https://github.com/go-swagger/go-swagger/issues/1380) -- match for the market the limit of the new system with esi [\#1374](https://github.com/go-swagger/go-swagger/issues/1374) -- Standard library packages not found [\#1359](https://github.com/go-swagger/go-swagger/issues/1359) -- Why is vendor folder still version controlled? [\#1352](https://github.com/go-swagger/go-swagger/issues/1352) -- Newbie needs help with wiring server-side handlers [\#1351](https://github.com/go-swagger/go-swagger/issues/1351) -- The generate server command sorts the Operations but not the Models. [\#1349](https://github.com/go-swagger/go-swagger/issues/1349) -- Compilation failure from pestore example [\#1346](https://github.com/go-swagger/go-swagger/issues/1346) -- Improper UnmarshalJSON of polymorphic object contained in another object [\#1341](https://github.com/go-swagger/go-swagger/issues/1341) -- Generated client ignores application/x-www-form-urlencoded and uses multipart. [\#1332](https://github.com/go-swagger/go-swagger/issues/1332) -- can't compile generated server code for "file" in requests [\#1330](https://github.com/go-swagger/go-swagger/issues/1330) -- Improper import for a models directory placed in a subdirectory [\#1326](https://github.com/go-swagger/go-swagger/issues/1326) -- Make generated client take an `io.Reader` for parameters of type `file` [\#1325](https://github.com/go-swagger/go-swagger/issues/1325) -- Additional struct inserted when using allOf and an inline definition compared to 0.9.0 [\#1323](https://github.com/go-swagger/go-swagger/issues/1323) -- External References Aren't Expanded for Models [\#1322](https://github.com/go-swagger/go-swagger/issues/1322) -- How to define multiple content-type for one API [\#1319](https://github.com/go-swagger/go-swagger/issues/1319) -- Using go-swagger to generate other artifacts using custom templates not working from 0.12.0 [\#1312](https://github.com/go-swagger/go-swagger/issues/1312) -- unit test output is too verbose [\#1299](https://github.com/go-swagger/go-swagger/issues/1299) -- Master broken g8f4ad4c [\#1293](https://github.com/go-swagger/go-swagger/issues/1293) -- Issue with folded paths [\#1292](https://github.com/go-swagger/go-swagger/issues/1292) -- server generate : can't run custom template in operationGroups [\#1290](https://github.com/go-swagger/go-swagger/issues/1290) -- .security in body must be of type array: "null" [\#1286](https://github.com/go-swagger/go-swagger/issues/1286) -- Stream server problem [\#1278](https://github.com/go-swagger/go-swagger/issues/1278) -- custom templating: need the target path as base import [\#1274](https://github.com/go-swagger/go-swagger/issues/1274) -- improve error handling in generator [\#1272](https://github.com/go-swagger/go-swagger/issues/1272) -- Feature Request: Renaming interface method from handle to actual method name [\#1271](https://github.com/go-swagger/go-swagger/issues/1271) -- generate client errors out because of a nullable field in a definition [\#1265](https://github.com/go-swagger/go-swagger/issues/1265) -- Command line option to specify copyright does not work in long mode [\#1263](https://github.com/go-swagger/go-swagger/issues/1263) -- Code generation fails when swagger description property includes text "\*/" [\#1254](https://github.com/go-swagger/go-swagger/issues/1254) -- Changing SwaggerUI [\#1250](https://github.com/go-swagger/go-swagger/issues/1250) -- Codegen gives SIGSEGV [\#1238](https://github.com/go-swagger/go-swagger/issues/1238) -- Go-swagger v0.12.0 - invalid memory address or nil pointer dereference [\#1171](https://github.com/go-swagger/go-swagger/issues/1171) -- Generating spec pulls in unused enumeration types from Protobuf-generated files [\#1149](https://github.com/go-swagger/go-swagger/issues/1149) -- How the Response Sample was Executeing? [\#1144](https://github.com/go-swagger/go-swagger/issues/1144) -- migrate to use net.Context [\#96](https://github.com/go-swagger/go-swagger/issues/96) +- `swagger validate` fails to complete when referencing another file [\#1535](https://github.com/cloudentity/go-swagger/issues/1535) +- Go vendors dependencies: Cannot use a generated client in a server [\#1534](https://github.com/cloudentity/go-swagger/issues/1534) +- Embedded spec is not flattened and won't work if there are external references. [\#1528](https://github.com/cloudentity/go-swagger/issues/1528) +- How to print the error message in response sample using "swagger:response" tag [\#1526](https://github.com/cloudentity/go-swagger/issues/1526) +- Response schema of type array being aliased [\#1524](https://github.com/cloudentity/go-swagger/issues/1524) +- Validating a Standard spec [\#1522](https://github.com/cloudentity/go-swagger/issues/1522) +- Client parameters don't set body when model is an enum [\#1513](https://github.com/cloudentity/go-swagger/issues/1513) +- Spec generation doesn't honour the ",string" JSON struct tag [\#1510](https://github.com/cloudentity/go-swagger/issues/1510) +- How to add static sections? [\#1509](https://github.com/cloudentity/go-swagger/issues/1509) +- Type mismatch in flatten source [\#1504](https://github.com/cloudentity/go-swagger/issues/1504) +- Not possible to hide individual struct fields [\#1497](https://github.com/cloudentity/go-swagger/issues/1497) +- strfmt.Datetime how to omit when empty, nil or time.Time{} [\#1491](https://github.com/cloudentity/go-swagger/issues/1491) +- Breaking change in Authenticator runtime [\#1488](https://github.com/cloudentity/go-swagger/issues/1488) +- Request model is not loading in swagger [\#1476](https://github.com/cloudentity/go-swagger/issues/1476) +- Unable to generate Swagger spec [\#1475](https://github.com/cloudentity/go-swagger/issues/1475) +- Passing empty slice as parameter results in panic [\#1462](https://github.com/cloudentity/go-swagger/issues/1462) +- malloc deadlock [\#1454](https://github.com/cloudentity/go-swagger/issues/1454) +- Support for optional auth? [\#1446](https://github.com/cloudentity/go-swagger/issues/1446) +- Optional SSN field performs no validation [\#1434](https://github.com/cloudentity/go-swagger/issues/1434) +- Possible to have models in Subdirectory? [\#1428](https://github.com/cloudentity/go-swagger/issues/1428) +- Do we have to specifically allow HEAD requests? [\#1426](https://github.com/cloudentity/go-swagger/issues/1426) +- How to pass TLS structure from net.HttpRequest into my handler? [\#1423](https://github.com/cloudentity/go-swagger/issues/1423) +- Undefined variable "filterI" presents after code generation when using nested "collectionFormat": "csv" [\#1414](https://github.com/cloudentity/go-swagger/issues/1414) +- New feature to allow Parameters section [\#1404](https://github.com/cloudentity/go-swagger/issues/1404) +- flatten command remove the empty security properties [\#1396](https://github.com/cloudentity/go-swagger/issues/1396) +- Getting duplicate Definitions under 0.13 [\#1385](https://github.com/cloudentity/go-swagger/issues/1385) +- Add Title generation for info part of spec. [\#1382](https://github.com/cloudentity/go-swagger/issues/1382) +- package and file name contain underscore \(after a change in go-swagger\) [\#1380](https://github.com/cloudentity/go-swagger/issues/1380) +- match for the market the limit of the new system with esi [\#1374](https://github.com/cloudentity/go-swagger/issues/1374) +- Standard library packages not found [\#1359](https://github.com/cloudentity/go-swagger/issues/1359) +- Why is vendor folder still version controlled? [\#1352](https://github.com/cloudentity/go-swagger/issues/1352) +- Newbie needs help with wiring server-side handlers [\#1351](https://github.com/cloudentity/go-swagger/issues/1351) +- The generate server command sorts the Operations but not the Models. [\#1349](https://github.com/cloudentity/go-swagger/issues/1349) +- Compilation failure from pestore example [\#1346](https://github.com/cloudentity/go-swagger/issues/1346) +- Improper UnmarshalJSON of polymorphic object contained in another object [\#1341](https://github.com/cloudentity/go-swagger/issues/1341) +- Generated client ignores application/x-www-form-urlencoded and uses multipart. [\#1332](https://github.com/cloudentity/go-swagger/issues/1332) +- can't compile generated server code for "file" in requests [\#1330](https://github.com/cloudentity/go-swagger/issues/1330) +- Improper import for a models directory placed in a subdirectory [\#1326](https://github.com/cloudentity/go-swagger/issues/1326) +- Make generated client take an `io.Reader` for parameters of type `file` [\#1325](https://github.com/cloudentity/go-swagger/issues/1325) +- Additional struct inserted when using allOf and an inline definition compared to 0.9.0 [\#1323](https://github.com/cloudentity/go-swagger/issues/1323) +- External References Aren't Expanded for Models [\#1322](https://github.com/cloudentity/go-swagger/issues/1322) +- How to define multiple content-type for one API [\#1319](https://github.com/cloudentity/go-swagger/issues/1319) +- Using go-swagger to generate other artifacts using custom templates not working from 0.12.0 [\#1312](https://github.com/cloudentity/go-swagger/issues/1312) +- unit test output is too verbose [\#1299](https://github.com/cloudentity/go-swagger/issues/1299) +- Master broken g8f4ad4c [\#1293](https://github.com/cloudentity/go-swagger/issues/1293) +- Issue with folded paths [\#1292](https://github.com/cloudentity/go-swagger/issues/1292) +- server generate : can't run custom template in operationGroups [\#1290](https://github.com/cloudentity/go-swagger/issues/1290) +- .security in body must be of type array: "null" [\#1286](https://github.com/cloudentity/go-swagger/issues/1286) +- Stream server problem [\#1278](https://github.com/cloudentity/go-swagger/issues/1278) +- custom templating: need the target path as base import [\#1274](https://github.com/cloudentity/go-swagger/issues/1274) +- improve error handling in generator [\#1272](https://github.com/cloudentity/go-swagger/issues/1272) +- Feature Request: Renaming interface method from handle to actual method name [\#1271](https://github.com/cloudentity/go-swagger/issues/1271) +- generate client errors out because of a nullable field in a definition [\#1265](https://github.com/cloudentity/go-swagger/issues/1265) +- Command line option to specify copyright does not work in long mode [\#1263](https://github.com/cloudentity/go-swagger/issues/1263) +- Code generation fails when swagger description property includes text "\*/" [\#1254](https://github.com/cloudentity/go-swagger/issues/1254) +- Changing SwaggerUI [\#1250](https://github.com/cloudentity/go-swagger/issues/1250) +- Codegen gives SIGSEGV [\#1238](https://github.com/cloudentity/go-swagger/issues/1238) +- Go-swagger v0.12.0 - invalid memory address or nil pointer dereference [\#1171](https://github.com/cloudentity/go-swagger/issues/1171) +- Generating spec pulls in unused enumeration types from Protobuf-generated files [\#1149](https://github.com/cloudentity/go-swagger/issues/1149) +- How the Response Sample was Executeing? [\#1144](https://github.com/cloudentity/go-swagger/issues/1144) +- migrate to use net.Context [\#96](https://github.com/cloudentity/go-swagger/issues/96) **Merged pull requests:** -- Update vendor - 2018-05-24 [\#1547](https://github.com/go-swagger/go-swagger/pull/1547) ([fredbi](https://github.com/fredbi)) -- Allow white space sensitive markdown in comments. [\#1541](https://github.com/go-swagger/go-swagger/pull/1541) ([dougnd](https://github.com/dougnd)) -- Polymorphic unmarshaller [\#1540](https://github.com/go-swagger/go-swagger/pull/1540) ([fredbi](https://github.com/fredbi)) -- Body validations [\#1539](https://github.com/go-swagger/go-swagger/pull/1539) ([fredbi](https://github.com/fredbi)) -- Ordering security definitions and requirements [\#1533](https://github.com/go-swagger/go-swagger/pull/1533) ([fredbi](https://github.com/fredbi)) -- Update custom-server.md [\#1531](https://github.com/go-swagger/go-swagger/pull/1531) ([arunvm123](https://github.com/arunvm123)) -- revamp README [\#1529](https://github.com/go-swagger/go-swagger/pull/1529) ([fredbi](https://github.com/fredbi)) -- Allow struct fields to be annotated with swagger:ignore [\#1527](https://github.com/go-swagger/go-swagger/pull/1527) ([neilgarb](https://github.com/neilgarb)) -- Fix complex anonymous additional properties [\#1521](https://github.com/go-swagger/go-swagger/pull/1521) ([fredbi](https://github.com/fredbi)) -- Fix build deps [\#1515](https://github.com/go-swagger/go-swagger/pull/1515) ([casualjim](https://github.com/casualjim)) -- fix writing enum parameters \(\#1513\) [\#1514](https://github.com/go-swagger/go-swagger/pull/1514) ([stevecookform3](https://github.com/stevecookform3)) -- Honour JSON ",string" directive when generating spec [\#1511](https://github.com/go-swagger/go-swagger/pull/1511) ([neilgarb](https://github.com/neilgarb)) -- Generated client parameter does not set request body for map types [\#1508](https://github.com/go-swagger/go-swagger/pull/1508) ([koron](https://github.com/koron)) -- Lifts validations [\#1507](https://github.com/go-swagger/go-swagger/pull/1507) ([fredbi](https://github.com/fredbi)) -- missing letter in message \(possiby =\> possibly\) [\#1500](https://github.com/go-swagger/go-swagger/pull/1500) ([tmatias](https://github.com/tmatias)) -- support --skip-flatten for model generation [\#1498](https://github.com/go-swagger/go-swagger/pull/1498) ([zhuangqh](https://github.com/zhuangqh)) -- Fix typos in docs/use/middleware.html [\#1492](https://github.com/go-swagger/go-swagger/pull/1492) ([davidmi](https://github.com/davidmi)) -- Extend gen operation group [\#1482](https://github.com/go-swagger/go-swagger/pull/1482) ([fredbi](https://github.com/fredbi)) -- Composed auth example [\#1481](https://github.com/go-swagger/go-swagger/pull/1481) ([fredbi](https://github.com/fredbi)) -- Allow AND and Optional auth expressions [\#1478](https://github.com/go-swagger/go-swagger/pull/1478) ([casualjim](https://github.com/casualjim)) -- server: generic interface body is never filled [\#1474](https://github.com/go-swagger/go-swagger/pull/1474) ([koron](https://github.com/koron)) -- Fix panic on empty slice PathParam [\#1463](https://github.com/go-swagger/go-swagger/pull/1463) ([marclop](https://github.com/marclop)) -- FAQ update [\#1460](https://github.com/go-swagger/go-swagger/pull/1460) ([fredbi](https://github.com/fredbi)) -- \* Fix model build issue with AdditionalItems \(serialization, validation\) [\#1455](https://github.com/go-swagger/go-swagger/pull/1455) ([fredbi](https://github.com/fredbi)) -- Acknowledge bug fixes and add CI fixtures. [\#1452](https://github.com/go-swagger/go-swagger/pull/1452) ([fredbi](https://github.com/fredbi)) -- Vendor update as of 2018-03-09 [\#1451](https://github.com/go-swagger/go-swagger/pull/1451) ([fredbi](https://github.com/fredbi)) -- Failure to parse multiform data results in HTTP 400 status [\#1449](https://github.com/go-swagger/go-swagger/pull/1449) ([fredbi](https://github.com/fredbi)) -- Fixes \#910 [\#1448](https://github.com/go-swagger/go-swagger/pull/1448) ([fredbi](https://github.com/fredbi)) -- Acknowledge corrected issues with test cases [\#1447](https://github.com/go-swagger/go-swagger/pull/1447) ([fredbi](https://github.com/fredbi)) -- Small refactoring of schemavalidator.gotmpl [\#1445](https://github.com/go-swagger/go-swagger/pull/1445) ([fredbi](https://github.com/fredbi)) -- Enable validation for inline body parameters [\#1444](https://github.com/go-swagger/go-swagger/pull/1444) ([fredbi](https://github.com/fredbi)) -- Fixing \#1437 uncovered another issue on type aliasing. [\#1443](https://github.com/go-swagger/go-swagger/pull/1443) ([fredbi](https://github.com/fredbi)) -- Add --skip-validation option to generate model command [\#1442](https://github.com/go-swagger/go-swagger/pull/1442) ([fredbi](https://github.com/fredbi)) -- Added codegen fixtures to acknowledge fixed issues. [\#1441](https://github.com/go-swagger/go-swagger/pull/1441) ([fredbi](https://github.com/fredbi)) -- Small refactoring on custom extensions usage [\#1440](https://github.com/go-swagger/go-swagger/pull/1440) ([fredbi](https://github.com/fredbi)) -- Fixes \#1437 \[format validation in simple schemas\] [\#1438](https://github.com/go-swagger/go-swagger/pull/1438) ([fredbi](https://github.com/fredbi)) -- Document how to avoid "target must reside inside a location in the $GOPATH/src" using docker [\#1435](https://github.com/go-swagger/go-swagger/pull/1435) ([tschaub](https://github.com/tschaub)) -- Vendor update [\#1424](https://github.com/go-swagger/go-swagger/pull/1424) ([fredbi](https://github.com/fredbi)) -- Sort AllOf schemas for generation [\#1422](https://github.com/go-swagger/go-swagger/pull/1422) ([fredbi](https://github.com/fredbi)) -- Added test case from issue\#1414 as fixture [\#1421](https://github.com/go-swagger/go-swagger/pull/1421) ([fredbi](https://github.com/fredbi)) -- Fixes issue \#1084 [\#1420](https://github.com/go-swagger/go-swagger/pull/1420) ([fredbi](https://github.com/fredbi)) -- Add test for \#1198 which was fixed with \#1397 [\#1411](https://github.com/go-swagger/go-swagger/pull/1411) ([gregmarr](https://github.com/gregmarr)) -- Support both discriminated and addl props in one type \#1409 [\#1410](https://github.com/go-swagger/go-swagger/pull/1410) ([gregmarr](https://github.com/gregmarr)) -- docs: replace `httpkit` with `runtime` [\#1407](https://github.com/go-swagger/go-swagger/pull/1407) ([darkowlzz](https://github.com/darkowlzz)) -- Added Parameters section to swagger:route [\#1405](https://github.com/go-swagger/go-swagger/pull/1405) ([jucardi](https://github.com/jucardi)) -- Properties not validated w/additionalProperties \#1397 [\#1403](https://github.com/go-swagger/go-swagger/pull/1403) ([gregmarr](https://github.com/gregmarr)) -- fixes writing client stream body [\#1399](https://github.com/go-swagger/go-swagger/pull/1399) ([casualjim](https://github.com/casualjim)) -- Fix issues on simple params [\#1394](https://github.com/go-swagger/go-swagger/pull/1394) ([fredbi](https://github.com/fredbi)) -- Support checking presence of path, header, and body parameters [\#1390](https://github.com/go-swagger/go-swagger/pull/1390) ([ZachEddy](https://github.com/ZachEddy)) -- Make generate server sort the models \#1349 [\#1387](https://github.com/go-swagger/go-swagger/pull/1387) ([gregmarr](https://github.com/gregmarr)) -- Add quiet mode and output redirection [\#1371](https://github.com/go-swagger/go-swagger/pull/1371) ([fredbi](https://github.com/fredbi)) -- 1348 Add generation of validate on MAC format [\#1369](https://github.com/go-swagger/go-swagger/pull/1369) ([fredbi](https://github.com/fredbi)) -- Add format validation on non required schema properties [\#1367](https://github.com/go-swagger/go-swagger/pull/1367) ([fredbi](https://github.com/fredbi)) -- Fixed dump-data as json [\#1366](https://github.com/go-swagger/go-swagger/pull/1366) ([fredbi](https://github.com/fredbi)) -- Added dependency resolution with repository on custom templates \(not … [\#1365](https://github.com/go-swagger/go-swagger/pull/1365) ([fredbi](https://github.com/fredbi)) -- Adding fix for issue \#1341 [\#1364](https://github.com/go-swagger/go-swagger/pull/1364) ([nickrmc83](https://github.com/nickrmc83)) -- Edit the todo tutorial for grammar and clarity [\#1363](https://github.com/go-swagger/go-swagger/pull/1363) ([autarch](https://github.com/autarch)) -- Added a flag to add more intialisms [\#1353](https://github.com/go-swagger/go-swagger/pull/1353) ([diego-fu-hs](https://github.com/diego-fu-hs)) -- case sensitive import path on Windows [\#1345](https://github.com/go-swagger/go-swagger/pull/1345) ([koron](https://github.com/koron)) -- Fix doc links [\#1343](https://github.com/go-swagger/go-swagger/pull/1343) ([fredbi](https://github.com/fredbi)) -- Integration PR from validate: go-openapi/validate\#42 \(issue go-openapi/validate\#44\) [\#1340](https://github.com/go-swagger/go-swagger/pull/1340) ([casualjim](https://github.com/casualjim)) -- 1331 - Delete temporary files [\#1333](https://github.com/go-swagger/go-swagger/pull/1333) ([sebastien-rosset](https://github.com/sebastien-rosset)) -- support file as response schema [\#1329](https://github.com/go-swagger/go-swagger/pull/1329) ([casualjim](https://github.com/casualjim)) -- update vendor [\#1324](https://github.com/go-swagger/go-swagger/pull/1324) ([kreamyx](https://github.com/kreamyx)) -- Add shutdown handling of graceful server on calls to Server.Shutdown [\#1320](https://github.com/go-swagger/go-swagger/pull/1320) ([Crevil](https://github.com/Crevil)) -- Removed check of array type of body when writing to request [\#1318](https://github.com/go-swagger/go-swagger/pull/1318) ([geret13](https://github.com/geret13)) -- fix a typo in template [\#1317](https://github.com/go-swagger/go-swagger/pull/1317) ([koron](https://github.com/koron)) -- move language specific baseImport check to LanguageOpts \#1312 [\#1315](https://github.com/go-swagger/go-swagger/pull/1315) ([elakito](https://github.com/elakito)) -- client request parameter will set body param for array of interface{} [\#1313](https://github.com/go-swagger/go-swagger/pull/1313) ([e-zhang](https://github.com/e-zhang)) -- check for interface body param in client parameter WriteToRequest [\#1310](https://github.com/go-swagger/go-swagger/pull/1310) ([e-zhang](https://github.com/e-zhang)) -- 342 fix add fixture [\#1306](https://github.com/go-swagger/go-swagger/pull/1306) ([fredbi](https://github.com/fredbi)) -- 1171. Add fixture [\#1305](https://github.com/go-swagger/go-swagger/pull/1305) ([fredbi](https://github.com/fredbi)) -- 1238-fix: add fixture in UT [\#1304](https://github.com/go-swagger/go-swagger/pull/1304) ([fredbi](https://github.com/fredbi)) -- Enriched UT on template\_repo.go [\#1303](https://github.com/go-swagger/go-swagger/pull/1303) ([fredbi](https://github.com/fredbi)) -- Allow adding or overriding consumers and producers [\#1302](https://github.com/go-swagger/go-swagger/pull/1302) ([dmjones500](https://github.com/dmjones500)) -- 1299-fix-unit-test-verbosity [\#1300](https://github.com/go-swagger/go-swagger/pull/1300) ([fredbi](https://github.com/fredbi)) -- 1290-fix server generation now supports operationGroups templates jus… [\#1298](https://github.com/go-swagger/go-swagger/pull/1298) ([fredbi](https://github.com/fredbi)) -- Bump go-openapi/spec [\#1287](https://github.com/go-swagger/go-swagger/pull/1287) ([databus23](https://github.com/databus23)) -- Ref resolution changes in the swagger binary side [\#1285](https://github.com/go-swagger/go-swagger/pull/1285) ([kreamyx](https://github.com/kreamyx)) -- bump go-openapi/spec [\#1282](https://github.com/go-swagger/go-swagger/pull/1282) ([databus23](https://github.com/databus23)) -- Fix \#1274 - add a new template variable in GenCommon. [\#1275](https://github.com/go-swagger/go-swagger/pull/1275) ([fredbi](https://github.com/fredbi)) -- fix \#1272 - Improve error handling in generator [\#1273](https://github.com/go-swagger/go-swagger/pull/1273) ([fredbi](https://github.com/fredbi)) +- Update vendor - 2018-05-24 [\#1547](https://github.com/cloudentity/go-swagger/pull/1547) ([fredbi](https://github.com/fredbi)) +- Allow white space sensitive markdown in comments. [\#1541](https://github.com/cloudentity/go-swagger/pull/1541) ([dougnd](https://github.com/dougnd)) +- Polymorphic unmarshaller [\#1540](https://github.com/cloudentity/go-swagger/pull/1540) ([fredbi](https://github.com/fredbi)) +- Body validations [\#1539](https://github.com/cloudentity/go-swagger/pull/1539) ([fredbi](https://github.com/fredbi)) +- Ordering security definitions and requirements [\#1533](https://github.com/cloudentity/go-swagger/pull/1533) ([fredbi](https://github.com/fredbi)) +- Update custom-server.md [\#1531](https://github.com/cloudentity/go-swagger/pull/1531) ([arunvm123](https://github.com/arunvm123)) +- revamp README [\#1529](https://github.com/cloudentity/go-swagger/pull/1529) ([fredbi](https://github.com/fredbi)) +- Allow struct fields to be annotated with swagger:ignore [\#1527](https://github.com/cloudentity/go-swagger/pull/1527) ([neilgarb](https://github.com/neilgarb)) +- Fix complex anonymous additional properties [\#1521](https://github.com/cloudentity/go-swagger/pull/1521) ([fredbi](https://github.com/fredbi)) +- Fix build deps [\#1515](https://github.com/cloudentity/go-swagger/pull/1515) ([casualjim](https://github.com/casualjim)) +- fix writing enum parameters \(\#1513\) [\#1514](https://github.com/cloudentity/go-swagger/pull/1514) ([stevecookform3](https://github.com/stevecookform3)) +- Honour JSON ",string" directive when generating spec [\#1511](https://github.com/cloudentity/go-swagger/pull/1511) ([neilgarb](https://github.com/neilgarb)) +- Generated client parameter does not set request body for map types [\#1508](https://github.com/cloudentity/go-swagger/pull/1508) ([koron](https://github.com/koron)) +- Lifts validations [\#1507](https://github.com/cloudentity/go-swagger/pull/1507) ([fredbi](https://github.com/fredbi)) +- missing letter in message \(possiby =\> possibly\) [\#1500](https://github.com/cloudentity/go-swagger/pull/1500) ([tmatias](https://github.com/tmatias)) +- support --skip-flatten for model generation [\#1498](https://github.com/cloudentity/go-swagger/pull/1498) ([zhuangqh](https://github.com/zhuangqh)) +- Fix typos in docs/use/middleware.html [\#1492](https://github.com/cloudentity/go-swagger/pull/1492) ([davidmi](https://github.com/davidmi)) +- Extend gen operation group [\#1482](https://github.com/cloudentity/go-swagger/pull/1482) ([fredbi](https://github.com/fredbi)) +- Composed auth example [\#1481](https://github.com/cloudentity/go-swagger/pull/1481) ([fredbi](https://github.com/fredbi)) +- Allow AND and Optional auth expressions [\#1478](https://github.com/cloudentity/go-swagger/pull/1478) ([casualjim](https://github.com/casualjim)) +- server: generic interface body is never filled [\#1474](https://github.com/cloudentity/go-swagger/pull/1474) ([koron](https://github.com/koron)) +- Fix panic on empty slice PathParam [\#1463](https://github.com/cloudentity/go-swagger/pull/1463) ([marclop](https://github.com/marclop)) +- FAQ update [\#1460](https://github.com/cloudentity/go-swagger/pull/1460) ([fredbi](https://github.com/fredbi)) +- \* Fix model build issue with AdditionalItems \(serialization, validation\) [\#1455](https://github.com/cloudentity/go-swagger/pull/1455) ([fredbi](https://github.com/fredbi)) +- Acknowledge bug fixes and add CI fixtures. [\#1452](https://github.com/cloudentity/go-swagger/pull/1452) ([fredbi](https://github.com/fredbi)) +- Vendor update as of 2018-03-09 [\#1451](https://github.com/cloudentity/go-swagger/pull/1451) ([fredbi](https://github.com/fredbi)) +- Failure to parse multiform data results in HTTP 400 status [\#1449](https://github.com/cloudentity/go-swagger/pull/1449) ([fredbi](https://github.com/fredbi)) +- Fixes \#910 [\#1448](https://github.com/cloudentity/go-swagger/pull/1448) ([fredbi](https://github.com/fredbi)) +- Acknowledge corrected issues with test cases [\#1447](https://github.com/cloudentity/go-swagger/pull/1447) ([fredbi](https://github.com/fredbi)) +- Small refactoring of schemavalidator.gotmpl [\#1445](https://github.com/cloudentity/go-swagger/pull/1445) ([fredbi](https://github.com/fredbi)) +- Enable validation for inline body parameters [\#1444](https://github.com/cloudentity/go-swagger/pull/1444) ([fredbi](https://github.com/fredbi)) +- Fixing \#1437 uncovered another issue on type aliasing. [\#1443](https://github.com/cloudentity/go-swagger/pull/1443) ([fredbi](https://github.com/fredbi)) +- Add --skip-validation option to generate model command [\#1442](https://github.com/cloudentity/go-swagger/pull/1442) ([fredbi](https://github.com/fredbi)) +- Added codegen fixtures to acknowledge fixed issues. [\#1441](https://github.com/cloudentity/go-swagger/pull/1441) ([fredbi](https://github.com/fredbi)) +- Small refactoring on custom extensions usage [\#1440](https://github.com/cloudentity/go-swagger/pull/1440) ([fredbi](https://github.com/fredbi)) +- Fixes \#1437 \[format validation in simple schemas\] [\#1438](https://github.com/cloudentity/go-swagger/pull/1438) ([fredbi](https://github.com/fredbi)) +- Document how to avoid "target must reside inside a location in the $GOPATH/src" using docker [\#1435](https://github.com/cloudentity/go-swagger/pull/1435) ([tschaub](https://github.com/tschaub)) +- Vendor update [\#1424](https://github.com/cloudentity/go-swagger/pull/1424) ([fredbi](https://github.com/fredbi)) +- Sort AllOf schemas for generation [\#1422](https://github.com/cloudentity/go-swagger/pull/1422) ([fredbi](https://github.com/fredbi)) +- Added test case from issue\#1414 as fixture [\#1421](https://github.com/cloudentity/go-swagger/pull/1421) ([fredbi](https://github.com/fredbi)) +- Fixes issue \#1084 [\#1420](https://github.com/cloudentity/go-swagger/pull/1420) ([fredbi](https://github.com/fredbi)) +- Add test for \#1198 which was fixed with \#1397 [\#1411](https://github.com/cloudentity/go-swagger/pull/1411) ([gregmarr](https://github.com/gregmarr)) +- Support both discriminated and addl props in one type \#1409 [\#1410](https://github.com/cloudentity/go-swagger/pull/1410) ([gregmarr](https://github.com/gregmarr)) +- docs: replace `httpkit` with `runtime` [\#1407](https://github.com/cloudentity/go-swagger/pull/1407) ([darkowlzz](https://github.com/darkowlzz)) +- Added Parameters section to swagger:route [\#1405](https://github.com/cloudentity/go-swagger/pull/1405) ([jucardi](https://github.com/jucardi)) +- Properties not validated w/additionalProperties \#1397 [\#1403](https://github.com/cloudentity/go-swagger/pull/1403) ([gregmarr](https://github.com/gregmarr)) +- fixes writing client stream body [\#1399](https://github.com/cloudentity/go-swagger/pull/1399) ([casualjim](https://github.com/casualjim)) +- Fix issues on simple params [\#1394](https://github.com/cloudentity/go-swagger/pull/1394) ([fredbi](https://github.com/fredbi)) +- Support checking presence of path, header, and body parameters [\#1390](https://github.com/cloudentity/go-swagger/pull/1390) ([ZachEddy](https://github.com/ZachEddy)) +- Make generate server sort the models \#1349 [\#1387](https://github.com/cloudentity/go-swagger/pull/1387) ([gregmarr](https://github.com/gregmarr)) +- Add quiet mode and output redirection [\#1371](https://github.com/cloudentity/go-swagger/pull/1371) ([fredbi](https://github.com/fredbi)) +- 1348 Add generation of validate on MAC format [\#1369](https://github.com/cloudentity/go-swagger/pull/1369) ([fredbi](https://github.com/fredbi)) +- Add format validation on non required schema properties [\#1367](https://github.com/cloudentity/go-swagger/pull/1367) ([fredbi](https://github.com/fredbi)) +- Fixed dump-data as json [\#1366](https://github.com/cloudentity/go-swagger/pull/1366) ([fredbi](https://github.com/fredbi)) +- Added dependency resolution with repository on custom templates \(not … [\#1365](https://github.com/cloudentity/go-swagger/pull/1365) ([fredbi](https://github.com/fredbi)) +- Adding fix for issue \#1341 [\#1364](https://github.com/cloudentity/go-swagger/pull/1364) ([nickrmc83](https://github.com/nickrmc83)) +- Edit the todo tutorial for grammar and clarity [\#1363](https://github.com/cloudentity/go-swagger/pull/1363) ([autarch](https://github.com/autarch)) +- Added a flag to add more intialisms [\#1353](https://github.com/cloudentity/go-swagger/pull/1353) ([diego-fu-hs](https://github.com/diego-fu-hs)) +- case sensitive import path on Windows [\#1345](https://github.com/cloudentity/go-swagger/pull/1345) ([koron](https://github.com/koron)) +- Fix doc links [\#1343](https://github.com/cloudentity/go-swagger/pull/1343) ([fredbi](https://github.com/fredbi)) +- Integration PR from validate: go-openapi/validate\#42 \(issue go-openapi/validate\#44\) [\#1340](https://github.com/cloudentity/go-swagger/pull/1340) ([casualjim](https://github.com/casualjim)) +- 1331 - Delete temporary files [\#1333](https://github.com/cloudentity/go-swagger/pull/1333) ([sebastien-rosset](https://github.com/sebastien-rosset)) +- support file as response schema [\#1329](https://github.com/cloudentity/go-swagger/pull/1329) ([casualjim](https://github.com/casualjim)) +- update vendor [\#1324](https://github.com/cloudentity/go-swagger/pull/1324) ([kreamyx](https://github.com/kreamyx)) +- Add shutdown handling of graceful server on calls to Server.Shutdown [\#1320](https://github.com/cloudentity/go-swagger/pull/1320) ([Crevil](https://github.com/Crevil)) +- Removed check of array type of body when writing to request [\#1318](https://github.com/cloudentity/go-swagger/pull/1318) ([geret13](https://github.com/geret13)) +- fix a typo in template [\#1317](https://github.com/cloudentity/go-swagger/pull/1317) ([koron](https://github.com/koron)) +- move language specific baseImport check to LanguageOpts \#1312 [\#1315](https://github.com/cloudentity/go-swagger/pull/1315) ([elakito](https://github.com/elakito)) +- client request parameter will set body param for array of interface{} [\#1313](https://github.com/cloudentity/go-swagger/pull/1313) ([e-zhang](https://github.com/e-zhang)) +- check for interface body param in client parameter WriteToRequest [\#1310](https://github.com/cloudentity/go-swagger/pull/1310) ([e-zhang](https://github.com/e-zhang)) +- 342 fix add fixture [\#1306](https://github.com/cloudentity/go-swagger/pull/1306) ([fredbi](https://github.com/fredbi)) +- 1171. Add fixture [\#1305](https://github.com/cloudentity/go-swagger/pull/1305) ([fredbi](https://github.com/fredbi)) +- 1238-fix: add fixture in UT [\#1304](https://github.com/cloudentity/go-swagger/pull/1304) ([fredbi](https://github.com/fredbi)) +- Enriched UT on template\_repo.go [\#1303](https://github.com/cloudentity/go-swagger/pull/1303) ([fredbi](https://github.com/fredbi)) +- Allow adding or overriding consumers and producers [\#1302](https://github.com/cloudentity/go-swagger/pull/1302) ([dmjones500](https://github.com/dmjones500)) +- 1299-fix-unit-test-verbosity [\#1300](https://github.com/cloudentity/go-swagger/pull/1300) ([fredbi](https://github.com/fredbi)) +- 1290-fix server generation now supports operationGroups templates jus… [\#1298](https://github.com/cloudentity/go-swagger/pull/1298) ([fredbi](https://github.com/fredbi)) +- Bump go-openapi/spec [\#1287](https://github.com/cloudentity/go-swagger/pull/1287) ([databus23](https://github.com/databus23)) +- Ref resolution changes in the swagger binary side [\#1285](https://github.com/cloudentity/go-swagger/pull/1285) ([kreamyx](https://github.com/kreamyx)) +- bump go-openapi/spec [\#1282](https://github.com/cloudentity/go-swagger/pull/1282) ([databus23](https://github.com/databus23)) +- Fix \#1274 - add a new template variable in GenCommon. [\#1275](https://github.com/cloudentity/go-swagger/pull/1275) ([fredbi](https://github.com/fredbi)) +- fix \#1272 - Improve error handling in generator [\#1273](https://github.com/cloudentity/go-swagger/pull/1273) ([fredbi](https://github.com/fredbi)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.15.0.md b/notes/v0.15.0.md index 219333739..f1620f4a9 100644 --- a/notes/v0.15.0.md +++ b/notes/v0.15.0.md @@ -1,75 +1,75 @@ # Change Log -## [0.15.0](https://github.com/go-swagger/go-swagger/tree/0.15.0) (2018-07-11) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.14.0...0.15.0) +## [0.15.0](https://github.com/cloudentity/go-swagger/tree/0.15.0) (2018-07-11) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.14.0...0.15.0) **Implemented enhancements:** -- Fail to generate model: unhandled type to resolve JSON pointer [\#1602](https://github.com/go-swagger/go-swagger/issues/1602) -- Suggestion: Implement golangci on go-swagger? [\#1576](https://github.com/go-swagger/go-swagger/issues/1576) -- Improve spec preprocessing : flatten vs expand [\#1572](https://github.com/go-swagger/go-swagger/issues/1572) -- Produces application/pdf ignored [\#1284](https://github.com/go-swagger/go-swagger/issues/1284) -- swagger json, title and possibly other constants in a separate package [\#1169](https://github.com/go-swagger/go-swagger/issues/1169) -- Debug prints regorganization [\#634](https://github.com/go-swagger/go-swagger/issues/634) +- Fail to generate model: unhandled type to resolve JSON pointer [\#1602](https://github.com/cloudentity/go-swagger/issues/1602) +- Suggestion: Implement golangci on go-swagger? [\#1576](https://github.com/cloudentity/go-swagger/issues/1576) +- Improve spec preprocessing : flatten vs expand [\#1572](https://github.com/cloudentity/go-swagger/issues/1572) +- Produces application/pdf ignored [\#1284](https://github.com/cloudentity/go-swagger/issues/1284) +- swagger json, title and possibly other constants in a separate package [\#1169](https://github.com/cloudentity/go-swagger/issues/1169) +- Debug prints regorganization [\#634](https://github.com/cloudentity/go-swagger/issues/634) **Fixed bugs:** -- Tuple unmarshaller fails on nil fields [\#1571](https://github.com/go-swagger/go-swagger/issues/1571) -- Deadlock issue in shutdown function under restapi [\#1565](https://github.com/go-swagger/go-swagger/issues/1565) -- Models: Invalid pointer redirect [\#1562](https://github.com/go-swagger/go-swagger/issues/1562) -- Broken code is generated with --skip-flatten [\#1559](https://github.com/go-swagger/go-swagger/issues/1559) -- Rendering and validation of maps in body [\#1556](https://github.com/go-swagger/go-swagger/issues/1556) -- Base64 validation wrongly performed after decoding the string field [\#1548](https://github.com/go-swagger/go-swagger/issues/1548) -- Model definition not included when response definition has an external $ref containing a schema $ref [\#1429](https://github.com/go-swagger/go-swagger/issues/1429) -- Client Generator hangs on swagger with circular dependencies. [\#957](https://github.com/go-swagger/go-swagger/issues/957) -- repeated resolve of remote ref fails [\#908](https://github.com/go-swagger/go-swagger/issues/908) -- Override struct type in json struct tag? [\#543](https://github.com/go-swagger/go-swagger/issues/543) +- Tuple unmarshaller fails on nil fields [\#1571](https://github.com/cloudentity/go-swagger/issues/1571) +- Deadlock issue in shutdown function under restapi [\#1565](https://github.com/cloudentity/go-swagger/issues/1565) +- Models: Invalid pointer redirect [\#1562](https://github.com/cloudentity/go-swagger/issues/1562) +- Broken code is generated with --skip-flatten [\#1559](https://github.com/cloudentity/go-swagger/issues/1559) +- Rendering and validation of maps in body [\#1556](https://github.com/cloudentity/go-swagger/issues/1556) +- Base64 validation wrongly performed after decoding the string field [\#1548](https://github.com/cloudentity/go-swagger/issues/1548) +- Model definition not included when response definition has an external $ref containing a schema $ref [\#1429](https://github.com/cloudentity/go-swagger/issues/1429) +- Client Generator hangs on swagger with circular dependencies. [\#957](https://github.com/cloudentity/go-swagger/issues/957) +- repeated resolve of remote ref fails [\#908](https://github.com/cloudentity/go-swagger/issues/908) +- Override struct type in json struct tag? [\#543](https://github.com/cloudentity/go-swagger/issues/543) **Closed issues:** -- Stack overflow error in swagger validate [\#1614](https://github.com/go-swagger/go-swagger/issues/1614) -- server execution on linux does not appear to call server.ConfigureFlags\(\) in main.go [\#1584](https://github.com/go-swagger/go-swagger/issues/1584) -- Question: Accessing parsed command-line arguments in configureAPI method [\#1581](https://github.com/go-swagger/go-swagger/issues/1581) -- Error "Cannot find file" on transpile todo example yml to Go server code on windows. [\#1554](https://github.com/go-swagger/go-swagger/issues/1554) -- Json Generation Issues [\#1553](https://github.com/go-swagger/go-swagger/issues/1553) -- Security & Nullable fields [\#1546](https://github.com/go-swagger/go-swagger/issues/1546) -- swagger:parameters won't generate in spec when inside a function [\#1545](https://github.com/go-swagger/go-swagger/issues/1545) -- Polymorphism does not support --skip-flatten [\#1516](https://github.com/go-swagger/go-swagger/issues/1516) -- Bug in oauth2 example [\#1496](https://github.com/go-swagger/go-swagger/issues/1496) -- contributing guidelines lack development instructions [\#1484](https://github.com/go-swagger/go-swagger/issues/1484) -- Missing strfmt import [\#1480](https://github.com/go-swagger/go-swagger/issues/1480) -- The commit number of command `swagger version` is wrong v0.12.0 [\#1297](https://github.com/go-swagger/go-swagger/issues/1297) -- Fail to include import "github.com/go-openapi/validate" in first go generate [\#824](https://github.com/go-swagger/go-swagger/issues/824) -- it appears that vendoring breaks client generation assumption [\#785](https://github.com/go-swagger/go-swagger/issues/785) +- Stack overflow error in swagger validate [\#1614](https://github.com/cloudentity/go-swagger/issues/1614) +- server execution on linux does not appear to call server.ConfigureFlags\(\) in main.go [\#1584](https://github.com/cloudentity/go-swagger/issues/1584) +- Question: Accessing parsed command-line arguments in configureAPI method [\#1581](https://github.com/cloudentity/go-swagger/issues/1581) +- Error "Cannot find file" on transpile todo example yml to Go server code on windows. [\#1554](https://github.com/cloudentity/go-swagger/issues/1554) +- Json Generation Issues [\#1553](https://github.com/cloudentity/go-swagger/issues/1553) +- Security & Nullable fields [\#1546](https://github.com/cloudentity/go-swagger/issues/1546) +- swagger:parameters won't generate in spec when inside a function [\#1545](https://github.com/cloudentity/go-swagger/issues/1545) +- Polymorphism does not support --skip-flatten [\#1516](https://github.com/cloudentity/go-swagger/issues/1516) +- Bug in oauth2 example [\#1496](https://github.com/cloudentity/go-swagger/issues/1496) +- contributing guidelines lack development instructions [\#1484](https://github.com/cloudentity/go-swagger/issues/1484) +- Missing strfmt import [\#1480](https://github.com/cloudentity/go-swagger/issues/1480) +- The commit number of command `swagger version` is wrong v0.12.0 [\#1297](https://github.com/cloudentity/go-swagger/issues/1297) +- Fail to include import "github.com/go-openapi/validate" in first go generate [\#824](https://github.com/cloudentity/go-swagger/issues/824) +- it appears that vendoring breaks client generation assumption [\#785](https://github.com/cloudentity/go-swagger/issues/785) **Merged pull requests:** -- Fixes \#1614 [\#1615](https://github.com/go-swagger/go-swagger/pull/1615) ([fredbi](https://github.com/fredbi)) -- Feature/x-order [\#1612](https://github.com/go-swagger/go-swagger/pull/1612) ([liber-takano](https://github.com/liber-takano)) -- Update vendor 20180710 [\#1608](https://github.com/go-swagger/go-swagger/pull/1608) ([fredbi](https://github.com/fredbi)) -- Document contribution guidelines [\#1607](https://github.com/go-swagger/go-swagger/pull/1607) ([fredbi](https://github.com/fredbi)) -- Review doc site [\#1604](https://github.com/go-swagger/go-swagger/pull/1604) ([fredbi](https://github.com/fredbi)) -- regen examples [\#1600](https://github.com/go-swagger/go-swagger/pull/1600) ([fredbi](https://github.com/fredbi)) -- Update vendor - keep up to date with go-openapi repo [\#1599](https://github.com/go-swagger/go-swagger/pull/1599) ([fredbi](https://github.com/fredbi)) -- Refactor debug code [\#1598](https://github.com/go-swagger/go-swagger/pull/1598) ([fredbi](https://github.com/fredbi)) -- Fix some linting and mispelling issues [\#1597](https://github.com/go-swagger/go-swagger/pull/1597) ([fredbi](https://github.com/fredbi)) -- Validation of string with format "byte" [\#1593](https://github.com/go-swagger/go-swagger/pull/1593) ([fredbi](https://github.com/fredbi)) -- Tuple serializer [\#1592](https://github.com/go-swagger/go-swagger/pull/1592) ([fredbi](https://github.com/fredbi)) -- Add go report card and golangci badges [\#1590](https://github.com/go-swagger/go-swagger/pull/1590) ([fredbi](https://github.com/fredbi)) -- Doc for new flatten [\#1589](https://github.com/go-swagger/go-swagger/pull/1589) ([fredbi](https://github.com/fredbi)) -- Minimal flatten [\#1588](https://github.com/go-swagger/go-swagger/pull/1588) ([fredbi](https://github.com/fredbi)) -- Add license scan report and status [\#1586](https://github.com/go-swagger/go-swagger/pull/1586) ([fossabot](https://github.com/fossabot)) -- Update vendor 20180630 [\#1585](https://github.com/go-swagger/go-swagger/pull/1585) ([fredbi](https://github.com/fredbi)) -- Create .golangci.yml [\#1578](https://github.com/go-swagger/go-swagger/pull/1578) ([JonKohler](https://github.com/JonKohler)) -- Update README.md to add Nutanix to the list [\#1577](https://github.com/go-swagger/go-swagger/pull/1577) ([JonKohler](https://github.com/JonKohler)) -- Replace tylerb/graceful with inbuilt methods Go 1.8 onwards - new request [\#1574](https://github.com/go-swagger/go-swagger/pull/1574) ([tortuoise](https://github.com/tortuoise)) -- fix: Shutdown method didn't shutdown all the schemes [\#1569](https://github.com/go-swagger/go-swagger/pull/1569) ([dreamlover](https://github.com/dreamlover)) -- Anonymous body parameters and responses [\#1568](https://github.com/go-swagger/go-swagger/pull/1568) ([fredbi](https://github.com/fredbi)) -- swagger:type Documentation [\#1567](https://github.com/go-swagger/go-swagger/pull/1567) ([nathanwilk7](https://github.com/nathanwilk7)) -- Render and validate maps in body parameters [\#1566](https://github.com/go-swagger/go-swagger/pull/1566) ([fredbi](https://github.com/fredbi)) -- Fix typo in clone command [\#1564](https://github.com/go-swagger/go-swagger/pull/1564) ([dbmalkovsky](https://github.com/dbmalkovsky)) -- Generate consumer/producer handlers that are not whitelisted [\#1557](https://github.com/go-swagger/go-swagger/pull/1557) ([Xzya](https://github.com/Xzya)) -- Doc dependencies requirement [\#1555](https://github.com/go-swagger/go-swagger/pull/1555) ([fredbi](https://github.com/fredbi)) -- Allow parameter code generation when struct is inside a function. [\#1550](https://github.com/go-swagger/go-swagger/pull/1550) ([josephspurrier](https://github.com/josephspurrier)) +- Fixes \#1614 [\#1615](https://github.com/cloudentity/go-swagger/pull/1615) ([fredbi](https://github.com/fredbi)) +- Feature/x-order [\#1612](https://github.com/cloudentity/go-swagger/pull/1612) ([liber-takano](https://github.com/liber-takano)) +- Update vendor 20180710 [\#1608](https://github.com/cloudentity/go-swagger/pull/1608) ([fredbi](https://github.com/fredbi)) +- Document contribution guidelines [\#1607](https://github.com/cloudentity/go-swagger/pull/1607) ([fredbi](https://github.com/fredbi)) +- Review doc site [\#1604](https://github.com/cloudentity/go-swagger/pull/1604) ([fredbi](https://github.com/fredbi)) +- regen examples [\#1600](https://github.com/cloudentity/go-swagger/pull/1600) ([fredbi](https://github.com/fredbi)) +- Update vendor - keep up to date with go-openapi repo [\#1599](https://github.com/cloudentity/go-swagger/pull/1599) ([fredbi](https://github.com/fredbi)) +- Refactor debug code [\#1598](https://github.com/cloudentity/go-swagger/pull/1598) ([fredbi](https://github.com/fredbi)) +- Fix some linting and mispelling issues [\#1597](https://github.com/cloudentity/go-swagger/pull/1597) ([fredbi](https://github.com/fredbi)) +- Validation of string with format "byte" [\#1593](https://github.com/cloudentity/go-swagger/pull/1593) ([fredbi](https://github.com/fredbi)) +- Tuple serializer [\#1592](https://github.com/cloudentity/go-swagger/pull/1592) ([fredbi](https://github.com/fredbi)) +- Add go report card and golangci badges [\#1590](https://github.com/cloudentity/go-swagger/pull/1590) ([fredbi](https://github.com/fredbi)) +- Doc for new flatten [\#1589](https://github.com/cloudentity/go-swagger/pull/1589) ([fredbi](https://github.com/fredbi)) +- Minimal flatten [\#1588](https://github.com/cloudentity/go-swagger/pull/1588) ([fredbi](https://github.com/fredbi)) +- Add license scan report and status [\#1586](https://github.com/cloudentity/go-swagger/pull/1586) ([fossabot](https://github.com/fossabot)) +- Update vendor 20180630 [\#1585](https://github.com/cloudentity/go-swagger/pull/1585) ([fredbi](https://github.com/fredbi)) +- Create .golangci.yml [\#1578](https://github.com/cloudentity/go-swagger/pull/1578) ([JonKohler](https://github.com/JonKohler)) +- Update README.md to add Nutanix to the list [\#1577](https://github.com/cloudentity/go-swagger/pull/1577) ([JonKohler](https://github.com/JonKohler)) +- Replace tylerb/graceful with inbuilt methods Go 1.8 onwards - new request [\#1574](https://github.com/cloudentity/go-swagger/pull/1574) ([tortuoise](https://github.com/tortuoise)) +- fix: Shutdown method didn't shutdown all the schemes [\#1569](https://github.com/cloudentity/go-swagger/pull/1569) ([dreamlover](https://github.com/dreamlover)) +- Anonymous body parameters and responses [\#1568](https://github.com/cloudentity/go-swagger/pull/1568) ([fredbi](https://github.com/fredbi)) +- swagger:type Documentation [\#1567](https://github.com/cloudentity/go-swagger/pull/1567) ([nathanwilk7](https://github.com/nathanwilk7)) +- Render and validate maps in body parameters [\#1566](https://github.com/cloudentity/go-swagger/pull/1566) ([fredbi](https://github.com/fredbi)) +- Fix typo in clone command [\#1564](https://github.com/cloudentity/go-swagger/pull/1564) ([dbmalkovsky](https://github.com/dbmalkovsky)) +- Generate consumer/producer handlers that are not whitelisted [\#1557](https://github.com/cloudentity/go-swagger/pull/1557) ([Xzya](https://github.com/Xzya)) +- Doc dependencies requirement [\#1555](https://github.com/cloudentity/go-swagger/pull/1555) ([fredbi](https://github.com/fredbi)) +- Allow parameter code generation when struct is inside a function. [\#1550](https://github.com/cloudentity/go-swagger/pull/1550) ([josephspurrier](https://github.com/josephspurrier)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/notes/v0.16.0.md b/notes/v0.16.0.md index f355341bb..15eb2f842 100644 --- a/notes/v0.16.0.md +++ b/notes/v0.16.0.md @@ -1,52 +1,52 @@ # Change Log -## [0.16.0](https://github.com/go-swagger/go-swagger/tree/0.16.0) (2018-08-11) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.15.0...0.16.0) +## [0.16.0](https://github.com/cloudentity/go-swagger/tree/0.16.0) (2018-08-11) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.15.0...0.16.0) **Implemented enhancements:** -- Contributed templates [\#1625](https://github.com/go-swagger/go-swagger/issues/1625) -- issue with validation of multipleOf with the factor being float [\#1618](https://github.com/go-swagger/go-swagger/issues/1618) -- Server locks up on adding flags with go-flags [\#1473](https://github.com/go-swagger/go-swagger/issues/1473) -- Dependency management v/ generated code [\#1419](https://github.com/go-swagger/go-swagger/issues/1419) -- Replace graceful with built-in methods \(1.8 onwards\) [\#1418](https://github.com/go-swagger/go-swagger/issues/1418) +- Contributed templates [\#1625](https://github.com/cloudentity/go-swagger/issues/1625) +- issue with validation of multipleOf with the factor being float [\#1618](https://github.com/cloudentity/go-swagger/issues/1618) +- Server locks up on adding flags with go-flags [\#1473](https://github.com/cloudentity/go-swagger/issues/1473) +- Dependency management v/ generated code [\#1419](https://github.com/cloudentity/go-swagger/issues/1419) +- Replace graceful with built-in methods \(1.8 onwards\) [\#1418](https://github.com/cloudentity/go-swagger/issues/1418) **Fixed bugs:** -- Generate Server - panic if "type" missing [\#1648](https://github.com/go-swagger/go-swagger/issues/1648) -- Server cannot unmarshal array of polymorphic values [\#1637](https://github.com/go-swagger/go-swagger/issues/1637) -- Client generation fails with 0.15.0, works with 0.14.0 [\#1621](https://github.com/go-swagger/go-swagger/issues/1621) -- \(Un\)MarshalJSON functions ignore part of struct when model is generated with allOf: [\#1617](https://github.com/go-swagger/go-swagger/issues/1617) -- Stack overflow error in swagger validate [\#1614](https://github.com/go-swagger/go-swagger/issues/1614) -- Handle platform-specific file names [\#1596](https://github.com/go-swagger/go-swagger/issues/1596) -- More than one tag on a path breaks server code generation [\#931](https://github.com/go-swagger/go-swagger/issues/931) +- Generate Server - panic if "type" missing [\#1648](https://github.com/cloudentity/go-swagger/issues/1648) +- Server cannot unmarshal array of polymorphic values [\#1637](https://github.com/cloudentity/go-swagger/issues/1637) +- Client generation fails with 0.15.0, works with 0.14.0 [\#1621](https://github.com/cloudentity/go-swagger/issues/1621) +- \(Un\)MarshalJSON functions ignore part of struct when model is generated with allOf: [\#1617](https://github.com/cloudentity/go-swagger/issues/1617) +- Stack overflow error in swagger validate [\#1614](https://github.com/cloudentity/go-swagger/issues/1614) +- Handle platform-specific file names [\#1596](https://github.com/cloudentity/go-swagger/issues/1596) +- More than one tag on a path breaks server code generation [\#931](https://github.com/cloudentity/go-swagger/issues/931) **Closed issues:** -- Invalid model generated [\#1653](https://github.com/go-swagger/go-swagger/issues/1653) -- use of closed network connection error on shutdown in 0.15 [\#1650](https://github.com/go-swagger/go-swagger/issues/1650) -- Generating server code changes files randomly with multiple mimetypes [\#1646](https://github.com/go-swagger/go-swagger/issues/1646) +- Invalid model generated [\#1653](https://github.com/cloudentity/go-swagger/issues/1653) +- use of closed network connection error on shutdown in 0.15 [\#1650](https://github.com/cloudentity/go-swagger/issues/1650) +- Generating server code changes files randomly with multiple mimetypes [\#1646](https://github.com/cloudentity/go-swagger/issues/1646) **Merged pull requests:** -- Better example for redirect in operation [\#1657](https://github.com/go-swagger/go-swagger/pull/1657) ([fredbi](https://github.com/fredbi)) -- update examples and vendor [\#1656](https://github.com/go-swagger/go-swagger/pull/1656) ([casualjim](https://github.com/casualjim)) -- Fix parallel unit test for models [\#1654](https://github.com/go-swagger/go-swagger/pull/1654) ([fredbi](https://github.com/fredbi)) -- Fixes \#1648 \[regression from \#1638: codegen panics when type omitted\] [\#1652](https://github.com/go-swagger/go-swagger/pull/1652) ([fredbi](https://github.com/fredbi)) -- fix random ordering of mimetypes in the doc strings on generate [\#1647](https://github.com/go-swagger/go-swagger/pull/1647) ([cp16net](https://github.com/cp16net)) -- Acknowledges fix from previous PR \(\#1160\) - added test to CI [\#1643](https://github.com/go-swagger/go-swagger/pull/1643) ([fredbi](https://github.com/fredbi)) -- Improves error handling at startup for https server [\#1642](https://github.com/go-swagger/go-swagger/pull/1642) ([fredbi](https://github.com/fredbi)) -- Unmarshalling array of polymorphic type in body parameter [\#1641](https://github.com/go-swagger/go-swagger/pull/1641) ([fredbi](https://github.com/fredbi)) -- Mangle file names with a specific meaning for go build [\#1640](https://github.com/go-swagger/go-swagger/pull/1640) ([fredbi](https://github.com/fredbi)) -- Add support for top-level properties in models with AllOf [\#1639](https://github.com/go-swagger/go-swagger/pull/1639) ([fredbi](https://github.com/fredbi)) -- Make format resolving strictly to require a valid pair of type and format. [\#1638](https://github.com/go-swagger/go-swagger/pull/1638) ([co3k](https://github.com/co3k)) -- Support go.mod from Go 1.11 [\#1636](https://github.com/go-swagger/go-swagger/pull/1636) ([shaxbee](https://github.com/shaxbee)) -- Improvements to minimal flattening [\#1631](https://github.com/go-swagger/go-swagger/pull/1631) ([fredbi](https://github.com/fredbi)) -- Reverts silent change brought by \#1612 [\#1630](https://github.com/go-swagger/go-swagger/pull/1630) ([fredbi](https://github.com/fredbi)) -- Many shutdown fixes [\#1627](https://github.com/go-swagger/go-swagger/pull/1627) ([Phlamethrower](https://github.com/Phlamethrower)) -- Add contributed template option and stratoscale's templates [\#1626](https://github.com/go-swagger/go-swagger/pull/1626) ([michaelf-stratoscale](https://github.com/michaelf-stratoscale)) -- optimize to clone schema [\#1620](https://github.com/go-swagger/go-swagger/pull/1620) ([koron](https://github.com/koron)) -- Fixes minor glitches in documentation [\#1616](https://github.com/go-swagger/go-swagger/pull/1616) ([fredbi](https://github.com/fredbi)) +- Better example for redirect in operation [\#1657](https://github.com/cloudentity/go-swagger/pull/1657) ([fredbi](https://github.com/fredbi)) +- update examples and vendor [\#1656](https://github.com/cloudentity/go-swagger/pull/1656) ([casualjim](https://github.com/casualjim)) +- Fix parallel unit test for models [\#1654](https://github.com/cloudentity/go-swagger/pull/1654) ([fredbi](https://github.com/fredbi)) +- Fixes \#1648 \[regression from \#1638: codegen panics when type omitted\] [\#1652](https://github.com/cloudentity/go-swagger/pull/1652) ([fredbi](https://github.com/fredbi)) +- fix random ordering of mimetypes in the doc strings on generate [\#1647](https://github.com/cloudentity/go-swagger/pull/1647) ([cp16net](https://github.com/cp16net)) +- Acknowledges fix from previous PR \(\#1160\) - added test to CI [\#1643](https://github.com/cloudentity/go-swagger/pull/1643) ([fredbi](https://github.com/fredbi)) +- Improves error handling at startup for https server [\#1642](https://github.com/cloudentity/go-swagger/pull/1642) ([fredbi](https://github.com/fredbi)) +- Unmarshalling array of polymorphic type in body parameter [\#1641](https://github.com/cloudentity/go-swagger/pull/1641) ([fredbi](https://github.com/fredbi)) +- Mangle file names with a specific meaning for go build [\#1640](https://github.com/cloudentity/go-swagger/pull/1640) ([fredbi](https://github.com/fredbi)) +- Add support for top-level properties in models with AllOf [\#1639](https://github.com/cloudentity/go-swagger/pull/1639) ([fredbi](https://github.com/fredbi)) +- Make format resolving strictly to require a valid pair of type and format. [\#1638](https://github.com/cloudentity/go-swagger/pull/1638) ([co3k](https://github.com/co3k)) +- Support go.mod from Go 1.11 [\#1636](https://github.com/cloudentity/go-swagger/pull/1636) ([shaxbee](https://github.com/shaxbee)) +- Improvements to minimal flattening [\#1631](https://github.com/cloudentity/go-swagger/pull/1631) ([fredbi](https://github.com/fredbi)) +- Reverts silent change brought by \#1612 [\#1630](https://github.com/cloudentity/go-swagger/pull/1630) ([fredbi](https://github.com/fredbi)) +- Many shutdown fixes [\#1627](https://github.com/cloudentity/go-swagger/pull/1627) ([Phlamethrower](https://github.com/Phlamethrower)) +- Add contributed template option and stratoscale's templates [\#1626](https://github.com/cloudentity/go-swagger/pull/1626) ([michaelf-stratoscale](https://github.com/michaelf-stratoscale)) +- optimize to clone schema [\#1620](https://github.com/cloudentity/go-swagger/pull/1620) ([koron](https://github.com/koron)) +- Fixes minor glitches in documentation [\#1616](https://github.com/cloudentity/go-swagger/pull/1616) ([fredbi](https://github.com/fredbi)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/notes/v0.17.0.md b/notes/v0.17.0.md index 2113a90e7..42e6839d7 100644 --- a/notes/v0.17.0.md +++ b/notes/v0.17.0.md @@ -1,49 +1,49 @@ # Change Log -## [v0.17.0](https://github.com/go-swagger/go-swagger/tree/v0.17.0) (2018-10-06) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.16.0...v0.17.0) +## [v0.17.0](https://github.com/cloudentity/go-swagger/tree/v0.17.0) (2018-10-06) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.16.0...v0.17.0) **Implemented enhancements:** -- Unused variable in restapi/server.go [\#1692](https://github.com/go-swagger/go-swagger/issues/1692) -- Generate spec in yml format [\#1686](https://github.com/go-swagger/go-swagger/issues/1686) -- Could not get payload or file content from request [\#1666](https://github.com/go-swagger/go-swagger/issues/1666) +- Unused variable in restapi/server.go [\#1692](https://github.com/cloudentity/go-swagger/issues/1692) +- Generate spec in yml format [\#1686](https://github.com/cloudentity/go-swagger/issues/1686) +- Could not get payload or file content from request [\#1666](https://github.com/cloudentity/go-swagger/issues/1666) **Closed issues:** -- --socket-path is being ignored [\#1740](https://github.com/go-swagger/go-swagger/issues/1740) -- Request context does not flow down handler pipeline \(handler registered i globalmiddleware\) is lost. [\#1733](https://github.com/go-swagger/go-swagger/issues/1733) -- Cannot install go-swagger [\#1728](https://github.com/go-swagger/go-swagger/issues/1728) -- -m, --scan-models missing when compiled using go 1.11 with module support [\#1718](https://github.com/go-swagger/go-swagger/issues/1718) -- Models rendered to file even if imported from external package using x-go-type [\#1710](https://github.com/go-swagger/go-swagger/issues/1710) -- Bug in external type import using x-go-type [\#1703](https://github.com/go-swagger/go-swagger/issues/1703) -- How to receive the shutdown signal from generated server? [\#1695](https://github.com/go-swagger/go-swagger/issues/1695) -- errcheck failed on generated restapi/server.go\#handleInterrupt [\#1689](https://github.com/go-swagger/go-swagger/issues/1689) -- Move to go modules ? [\#1677](https://github.com/go-swagger/go-swagger/issues/1677) -- Move from x/net/context to just context [\#1676](https://github.com/go-swagger/go-swagger/issues/1676) -- tuple unmarshaller fails [\#1673](https://github.com/go-swagger/go-swagger/issues/1673) -- Path parameter with request body [\#1523](https://github.com/go-swagger/go-swagger/issues/1523) +- --socket-path is being ignored [\#1740](https://github.com/cloudentity/go-swagger/issues/1740) +- Request context does not flow down handler pipeline \(handler registered i globalmiddleware\) is lost. [\#1733](https://github.com/cloudentity/go-swagger/issues/1733) +- Cannot install go-swagger [\#1728](https://github.com/cloudentity/go-swagger/issues/1728) +- -m, --scan-models missing when compiled using go 1.11 with module support [\#1718](https://github.com/cloudentity/go-swagger/issues/1718) +- Models rendered to file even if imported from external package using x-go-type [\#1710](https://github.com/cloudentity/go-swagger/issues/1710) +- Bug in external type import using x-go-type [\#1703](https://github.com/cloudentity/go-swagger/issues/1703) +- How to receive the shutdown signal from generated server? [\#1695](https://github.com/cloudentity/go-swagger/issues/1695) +- errcheck failed on generated restapi/server.go\#handleInterrupt [\#1689](https://github.com/cloudentity/go-swagger/issues/1689) +- Move to go modules ? [\#1677](https://github.com/cloudentity/go-swagger/issues/1677) +- Move from x/net/context to just context [\#1676](https://github.com/cloudentity/go-swagger/issues/1676) +- tuple unmarshaller fails [\#1673](https://github.com/cloudentity/go-swagger/issues/1673) +- Path parameter with request body [\#1523](https://github.com/cloudentity/go-swagger/issues/1523) **Merged pull requests:** -- Fix graceful-timeout variable [\#1732](https://github.com/go-swagger/go-swagger/pull/1732) ([gregorhollmig](https://github.com/gregorhollmig)) -- Enhance Server to have configurable graceful timeout [\#1730](https://github.com/go-swagger/go-swagger/pull/1730) ([gregorhollmig](https://github.com/gregorhollmig)) -- use different bindata binary [\#1723](https://github.com/go-swagger/go-swagger/pull/1723) ([casualjim](https://github.com/casualjim)) -- Fix do not generate models with x-go-type extension [\#1717](https://github.com/go-swagger/go-swagger/pull/1717) ([moskal91](https://github.com/moskal91)) -- Fix missing error check on s.Shutdown\(\) [\#1715](https://github.com/go-swagger/go-swagger/pull/1715) ([MrLuje](https://github.com/MrLuje)) -- Allow to include/exclude routes by their tags [\#1709](https://github.com/go-swagger/go-swagger/pull/1709) ([scf2k](https://github.com/scf2k)) -- Support dot in the tag names [\#1706](https://github.com/go-swagger/go-swagger/pull/1706) ([scf2k](https://github.com/scf2k)) -- Fix x-go-type imports missing [\#1705](https://github.com/go-swagger/go-swagger/pull/1705) ([moskal91](https://github.com/moskal91)) -- Remove unused variable [\#1701](https://github.com/go-swagger/go-swagger/pull/1701) ([jackwilsdon](https://github.com/jackwilsdon)) -- Enhance spec [\#1700](https://github.com/go-swagger/go-swagger/pull/1700) ([chenziliang](https://github.com/chenziliang)) -- Add include/exclude parameters to spec generator [\#1698](https://github.com/go-swagger/go-swagger/pull/1698) ([scf2k](https://github.com/scf2k)) -- Make extension generation optional [\#1697](https://github.com/go-swagger/go-swagger/pull/1697) ([chenziliang](https://github.com/chenziliang)) -- fix minor typo "you" to "your" [\#1694](https://github.com/go-swagger/go-swagger/pull/1694) ([stmuk](https://github.com/stmuk)) -- Add yaml format spec support [\#1693](https://github.com/go-swagger/go-swagger/pull/1693) ([chenziliang](https://github.com/chenziliang)) -- remove telling user they need to install context package [\#1691](https://github.com/go-swagger/go-swagger/pull/1691) ([etsangsplk](https://github.com/etsangsplk)) -- Gave up with parallel testing [\#1669](https://github.com/go-swagger/go-swagger/pull/1669) ([fredbi](https://github.com/fredbi)) -- Spelling mistake 🍝 [\#1667](https://github.com/go-swagger/go-swagger/pull/1667) ([frg](https://github.com/frg)) -- Fix race condition in unit test [\#1664](https://github.com/go-swagger/go-swagger/pull/1664) ([fredbi](https://github.com/fredbi)) -- Improve go.mod support in generator [\#1661](https://github.com/go-swagger/go-swagger/pull/1661) ([mikkeloscar](https://github.com/mikkeloscar)) +- Fix graceful-timeout variable [\#1732](https://github.com/cloudentity/go-swagger/pull/1732) ([gregorhollmig](https://github.com/gregorhollmig)) +- Enhance Server to have configurable graceful timeout [\#1730](https://github.com/cloudentity/go-swagger/pull/1730) ([gregorhollmig](https://github.com/gregorhollmig)) +- use different bindata binary [\#1723](https://github.com/cloudentity/go-swagger/pull/1723) ([casualjim](https://github.com/casualjim)) +- Fix do not generate models with x-go-type extension [\#1717](https://github.com/cloudentity/go-swagger/pull/1717) ([moskal91](https://github.com/moskal91)) +- Fix missing error check on s.Shutdown\(\) [\#1715](https://github.com/cloudentity/go-swagger/pull/1715) ([MrLuje](https://github.com/MrLuje)) +- Allow to include/exclude routes by their tags [\#1709](https://github.com/cloudentity/go-swagger/pull/1709) ([scf2k](https://github.com/scf2k)) +- Support dot in the tag names [\#1706](https://github.com/cloudentity/go-swagger/pull/1706) ([scf2k](https://github.com/scf2k)) +- Fix x-go-type imports missing [\#1705](https://github.com/cloudentity/go-swagger/pull/1705) ([moskal91](https://github.com/moskal91)) +- Remove unused variable [\#1701](https://github.com/cloudentity/go-swagger/pull/1701) ([jackwilsdon](https://github.com/jackwilsdon)) +- Enhance spec [\#1700](https://github.com/cloudentity/go-swagger/pull/1700) ([chenziliang](https://github.com/chenziliang)) +- Add include/exclude parameters to spec generator [\#1698](https://github.com/cloudentity/go-swagger/pull/1698) ([scf2k](https://github.com/scf2k)) +- Make extension generation optional [\#1697](https://github.com/cloudentity/go-swagger/pull/1697) ([chenziliang](https://github.com/chenziliang)) +- fix minor typo "you" to "your" [\#1694](https://github.com/cloudentity/go-swagger/pull/1694) ([stmuk](https://github.com/stmuk)) +- Add yaml format spec support [\#1693](https://github.com/cloudentity/go-swagger/pull/1693) ([chenziliang](https://github.com/chenziliang)) +- remove telling user they need to install context package [\#1691](https://github.com/cloudentity/go-swagger/pull/1691) ([etsangsplk](https://github.com/etsangsplk)) +- Gave up with parallel testing [\#1669](https://github.com/cloudentity/go-swagger/pull/1669) ([fredbi](https://github.com/fredbi)) +- Spelling mistake 🍝 [\#1667](https://github.com/cloudentity/go-swagger/pull/1667) ([frg](https://github.com/frg)) +- Fix race condition in unit test [\#1664](https://github.com/cloudentity/go-swagger/pull/1664) ([fredbi](https://github.com/fredbi)) +- Improve go.mod support in generator [\#1661](https://github.com/cloudentity/go-swagger/pull/1661) ([mikkeloscar](https://github.com/mikkeloscar)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.17.1.md b/notes/v0.17.1.md index d4bca2c41..9411a327b 100644 --- a/notes/v0.17.1.md +++ b/notes/v0.17.1.md @@ -1,30 +1,30 @@ # Change Log -## [v0.17.1](https://github.com/go-swagger/go-swagger/tree/v0.17.1) (2018-10-21) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.0...v0.17.1) +## [v0.17.1](https://github.com/cloudentity/go-swagger/tree/v0.17.1) (2018-10-21) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.17.0...v0.17.1) **Implemented enhancements:** -- un-graceful shutdown after 15 seconds on generated restapi/server.go\#handleShutdown [\#1714](https://github.com/go-swagger/go-swagger/issues/1714) -- Better Email Validation [\#1519](https://github.com/go-swagger/go-swagger/issues/1519) +- un-graceful shutdown after 15 seconds on generated restapi/server.go\#handleShutdown [\#1714](https://github.com/cloudentity/go-swagger/issues/1714) +- Better Email Validation [\#1519](https://github.com/cloudentity/go-swagger/issues/1519) **Fixed bugs:** -- skipping -A/--name option in generate server generates corrupt code [\#1746](https://github.com/go-swagger/go-swagger/issues/1746) +- skipping -A/--name option in generate server generates corrupt code [\#1746](https://github.com/cloudentity/go-swagger/issues/1746) **Closed issues:** -- testing server: the required flags `--tls-certificate` and `--tls-key` were not specified [\#1745](https://github.com/go-swagger/go-swagger/issues/1745) -- Go-swagger vendoring problem [\#1743](https://github.com/go-swagger/go-swagger/issues/1743) +- testing server: the required flags `--tls-certificate` and `--tls-key` were not specified [\#1745](https://github.com/cloudentity/go-swagger/issues/1745) +- Go-swagger vendoring problem [\#1743](https://github.com/cloudentity/go-swagger/issues/1743) **Merged pull requests:** -- fix typo in docs [\#1756](https://github.com/go-swagger/go-swagger/pull/1756) ([jharshman](https://github.com/jharshman)) -- feature: x-omitempty extension for general types [\#1751](https://github.com/go-swagger/go-swagger/pull/1751) ([zhuangqh](https://github.com/zhuangqh)) -- verifies swagger:operation can deal with $ref [\#1750](https://github.com/go-swagger/go-swagger/pull/1750) ([casualjim](https://github.com/casualjim)) -- Updated contributing guidelines [\#1749](https://github.com/go-swagger/go-swagger/pull/1749) ([fredbi](https://github.com/fredbi)) -- Fix go generate command when --name is absent [\#1748](https://github.com/go-swagger/go-swagger/pull/1748) ([fredbi](https://github.com/fredbi)) -- Handle relative path when using Go modules [\#1744](https://github.com/go-swagger/go-swagger/pull/1744) ([mikkeloscar](https://github.com/mikkeloscar)) +- fix typo in docs [\#1756](https://github.com/cloudentity/go-swagger/pull/1756) ([jharshman](https://github.com/jharshman)) +- feature: x-omitempty extension for general types [\#1751](https://github.com/cloudentity/go-swagger/pull/1751) ([zhuangqh](https://github.com/zhuangqh)) +- verifies swagger:operation can deal with $ref [\#1750](https://github.com/cloudentity/go-swagger/pull/1750) ([casualjim](https://github.com/casualjim)) +- Updated contributing guidelines [\#1749](https://github.com/cloudentity/go-swagger/pull/1749) ([fredbi](https://github.com/fredbi)) +- Fix go generate command when --name is absent [\#1748](https://github.com/cloudentity/go-swagger/pull/1748) ([fredbi](https://github.com/fredbi)) +- Handle relative path when using Go modules [\#1744](https://github.com/cloudentity/go-swagger/pull/1744) ([mikkeloscar](https://github.com/mikkeloscar)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.17.2.md b/notes/v0.17.2.md index 42fd5a103..22d713f03 100644 --- a/notes/v0.17.2.md +++ b/notes/v0.17.2.md @@ -1,15 +1,15 @@ # Change Log -## [v0.17.2](https://github.com/go-swagger/go-swagger/tree/v0.17.2) (2018-10-24) +## [v0.17.2](https://github.com/cloudentity/go-swagger/tree/v0.17.2) (2018-10-24) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.1...v0.17.2) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.17.1...v0.17.2) **Closed issues:** -- invalid client code generated for spec [\#1770](https://github.com/go-swagger/go-swagger/issues/1770) +- invalid client code generated for spec [\#1770](https://github.com/cloudentity/go-swagger/issues/1770) **Merged pull requests:** -- Fix a typo in tutorial [\#1764](https://github.com/go-swagger/go-swagger/pull/1764) ([ladrift](https://github.com/ladrift)) +- Fix a typo in tutorial [\#1764](https://github.com/cloudentity/go-swagger/pull/1764) ([ladrift](https://github.com/ladrift)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.18.0.md b/notes/v0.18.0.md index 8d4410115..a38c2dc22 100644 --- a/notes/v0.18.0.md +++ b/notes/v0.18.0.md @@ -1,67 +1,67 @@ # Change Log -## [v0.18.0](https://github.com/go-swagger/go-swagger/tree/v0.18.0) (2018-12-22) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.2...v0.18.0) +## [v0.18.0](https://github.com/cloudentity/go-swagger/tree/v0.18.0) (2018-12-22) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.17.2...v0.18.0) **Implemented enhancements:** -- Client cannot unmarshal struct [\#1729](https://github.com/go-swagger/go-swagger/issues/1729) -- swagger generation with --with-context result in compiles error [\#1684](https://github.com/go-swagger/go-swagger/issues/1684) -- Can't have server code in subdirectory [\#1624](https://github.com/go-swagger/go-swagger/issues/1624) -- Proposal: x-omitempty for general types [\#1623](https://github.com/go-swagger/go-swagger/issues/1623) -- When generating validations struct pkg references needs to be preserved [\#578](https://github.com/go-swagger/go-swagger/issues/578) +- Client cannot unmarshal struct [\#1729](https://github.com/cloudentity/go-swagger/issues/1729) +- swagger generation with --with-context result in compiles error [\#1684](https://github.com/cloudentity/go-swagger/issues/1684) +- Can't have server code in subdirectory [\#1624](https://github.com/cloudentity/go-swagger/issues/1624) +- Proposal: x-omitempty for general types [\#1623](https://github.com/cloudentity/go-swagger/issues/1623) +- When generating validations struct pkg references needs to be preserved [\#578](https://github.com/cloudentity/go-swagger/issues/578) **Fixed bugs:** -- Duplicated parentheses [\#1839](https://github.com/go-swagger/go-swagger/issues/1839) -- Regression with gob encoder optimization [\#1824](https://github.com/go-swagger/go-swagger/issues/1824) -- generated embedded\_spec.go removing refs [\#1816](https://github.com/go-swagger/go-swagger/issues/1816) -- Duplicated imports in configure.go [\#1808](https://github.com/go-swagger/go-swagger/issues/1808) -- Recursive model errors during flattening stage of generate server [\#1796](https://github.com/go-swagger/go-swagger/issues/1796) -- Invalid paths in go generate directive [\#1789](https://github.com/go-swagger/go-swagger/issues/1789) -- race in handleShutdown [\#1781](https://github.com/go-swagger/go-swagger/issues/1781) -- non-compiling code if an API method contains a parameter named 'result' [\#1778](https://github.com/go-swagger/go-swagger/issues/1778) -- Are external references supported? [\#1774](https://github.com/go-swagger/go-swagger/issues/1774) -- One spec in multiple files \(data types logic override\) - error of generating [\#1767](https://github.com/go-swagger/go-swagger/issues/1767) -- go-swagger generate server: minItems \(maxItems\) on array fails during validation. [\#1755](https://github.com/go-swagger/go-swagger/issues/1755) -- Client wont compile with a route tagged "test" [\#1683](https://github.com/go-swagger/go-swagger/issues/1683) -- Generate client does not handle "-" dashes in --client-package consistently [\#1157](https://github.com/go-swagger/go-swagger/issues/1157) +- Duplicated parentheses [\#1839](https://github.com/cloudentity/go-swagger/issues/1839) +- Regression with gob encoder optimization [\#1824](https://github.com/cloudentity/go-swagger/issues/1824) +- generated embedded\_spec.go removing refs [\#1816](https://github.com/cloudentity/go-swagger/issues/1816) +- Duplicated imports in configure.go [\#1808](https://github.com/cloudentity/go-swagger/issues/1808) +- Recursive model errors during flattening stage of generate server [\#1796](https://github.com/cloudentity/go-swagger/issues/1796) +- Invalid paths in go generate directive [\#1789](https://github.com/cloudentity/go-swagger/issues/1789) +- race in handleShutdown [\#1781](https://github.com/cloudentity/go-swagger/issues/1781) +- non-compiling code if an API method contains a parameter named 'result' [\#1778](https://github.com/cloudentity/go-swagger/issues/1778) +- Are external references supported? [\#1774](https://github.com/cloudentity/go-swagger/issues/1774) +- One spec in multiple files \(data types logic override\) - error of generating [\#1767](https://github.com/cloudentity/go-swagger/issues/1767) +- go-swagger generate server: minItems \(maxItems\) on array fails during validation. [\#1755](https://github.com/cloudentity/go-swagger/issues/1755) +- Client wont compile with a route tagged "test" [\#1683](https://github.com/cloudentity/go-swagger/issues/1683) +- Generate client does not handle "-" dashes in --client-package consistently [\#1157](https://github.com/cloudentity/go-swagger/issues/1157) **Closed issues:** -- body parameter of type string results in code that doesn't compile [\#1832](https://github.com/go-swagger/go-swagger/issues/1832) -- Add an option for placing the docs/docs.go file [\#1811](https://github.com/go-swagger/go-swagger/issues/1811) -- Deb version 0.17.2 doesn't contain the binary on bintray [\#1793](https://github.com/go-swagger/go-swagger/issues/1793) -- Parameters in swagger:route produce validation warnings [\#1785](https://github.com/go-swagger/go-swagger/issues/1785) -- Do not escape '&' character in json response [\#1763](https://github.com/go-swagger/go-swagger/issues/1763) -- Deb installation is broken with the new version with the "v" prefix [\#1760](https://github.com/go-swagger/go-swagger/issues/1760) -- Validate returns different output in console and logs [\#1722](https://github.com/go-swagger/go-swagger/issues/1722) +- body parameter of type string results in code that doesn't compile [\#1832](https://github.com/cloudentity/go-swagger/issues/1832) +- Add an option for placing the docs/docs.go file [\#1811](https://github.com/cloudentity/go-swagger/issues/1811) +- Deb version 0.17.2 doesn't contain the binary on bintray [\#1793](https://github.com/cloudentity/go-swagger/issues/1793) +- Parameters in swagger:route produce validation warnings [\#1785](https://github.com/cloudentity/go-swagger/issues/1785) +- Do not escape '&' character in json response [\#1763](https://github.com/cloudentity/go-swagger/issues/1763) +- Deb installation is broken with the new version with the "v" prefix [\#1760](https://github.com/cloudentity/go-swagger/issues/1760) +- Validate returns different output in console and logs [\#1722](https://github.com/cloudentity/go-swagger/issues/1722) **Merged pull requests:** -- Prepare for v0.18.0 release [\#1843](https://github.com/go-swagger/go-swagger/pull/1843) ([casualjim](https://github.com/casualjim)) -- FAQ update [\#1842](https://github.com/go-swagger/go-swagger/pull/1842) ([fredbi](https://github.com/fredbi)) -- Models: avoids redundant "\(\)" on .ValueExpression [\#1840](https://github.com/go-swagger/go-swagger/pull/1840) ([fredbi](https://github.com/fredbi)) -- route: add support description response tag at path [\#1829](https://github.com/go-swagger/go-swagger/pull/1829) ([d7561985](https://github.com/d7561985)) -- Fix \#1824 [\#1827](https://github.com/go-swagger/go-swagger/pull/1827) ([fredbi](https://github.com/fredbi)) -- Add HandlerAPI\(\) function to stratoscale template [\#1821](https://github.com/go-swagger/go-swagger/pull/1821) ([maxatome](https://github.com/maxatome)) -- Remove x net context from generated code [\#1819](https://github.com/go-swagger/go-swagger/pull/1819) ([fredbi](https://github.com/fredbi)) -- Acknowledge fix \#1816 with go-openapi updates [\#1818](https://github.com/go-swagger/go-swagger/pull/1818) ([fredbi](https://github.com/fredbi)) -- Fixed go generate paths in configure\_xxx.go [\#1810](https://github.com/go-swagger/go-swagger/pull/1810) ([fredbi](https://github.com/fredbi)) -- Fixed regression on Windows introduced by \#1804 [\#1809](https://github.com/go-swagger/go-swagger/pull/1809) ([fredbi](https://github.com/fredbi)) -- Handle array examples; document Example usage [\#1807](https://github.com/go-swagger/go-swagger/pull/1807) ([leon-barrett](https://github.com/leon-barrett)) -- Deprecates `--with-context` option [\#1806](https://github.com/go-swagger/go-swagger/pull/1806) ([fredbi](https://github.com/fredbi)) -- Fixes race condition in generated server [\#1805](https://github.com/go-swagger/go-swagger/pull/1805) ([fredbi](https://github.com/fredbi)) -- More mangling for generated package names and path [\#1804](https://github.com/go-swagger/go-swagger/pull/1804) ([fredbi](https://github.com/fredbi)) -- Fix slice validations in body param [\#1803](https://github.com/go-swagger/go-swagger/pull/1803) ([fredbi](https://github.com/fredbi)) -- chore: update vendor for performance [\#1802](https://github.com/go-swagger/go-swagger/pull/1802) ([orisano](https://github.com/orisano)) -- Use JSON for examples of type object [\#1801](https://github.com/go-swagger/go-swagger/pull/1801) ([leon-barrett](https://github.com/leon-barrett)) -- Fix go vet 11 issue with debugAsJSON func [\#1800](https://github.com/go-swagger/go-swagger/pull/1800) ([fredbi](https://github.com/fredbi)) -- Fix flattening spec with remote circular $ref [\#1799](https://github.com/go-swagger/go-swagger/pull/1799) ([fredbi](https://github.com/fredbi)) -- Allow '?' character in route path [\#1792](https://github.com/go-swagger/go-swagger/pull/1792) ([andrewmilson](https://github.com/andrewmilson)) -- There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it [\#1791](https://github.com/go-swagger/go-swagger/pull/1791) ([marsianin](https://github.com/marsianin)) -- fix client cannot unmarshal struct which contains null [\#1788](https://github.com/go-swagger/go-swagger/pull/1788) ([AlexInGitHub](https://github.com/AlexInGitHub)) -- Absorbing api names across multiple lines [\#1783](https://github.com/go-swagger/go-swagger/pull/1783) ([liyuankui](https://github.com/liyuankui)) -- fixes \#1778. Allow 'result' name for API parameter [\#1780](https://github.com/go-swagger/go-swagger/pull/1780) ([mtfelian](https://github.com/mtfelian)) +- Prepare for v0.18.0 release [\#1843](https://github.com/cloudentity/go-swagger/pull/1843) ([casualjim](https://github.com/casualjim)) +- FAQ update [\#1842](https://github.com/cloudentity/go-swagger/pull/1842) ([fredbi](https://github.com/fredbi)) +- Models: avoids redundant "\(\)" on .ValueExpression [\#1840](https://github.com/cloudentity/go-swagger/pull/1840) ([fredbi](https://github.com/fredbi)) +- route: add support description response tag at path [\#1829](https://github.com/cloudentity/go-swagger/pull/1829) ([d7561985](https://github.com/d7561985)) +- Fix \#1824 [\#1827](https://github.com/cloudentity/go-swagger/pull/1827) ([fredbi](https://github.com/fredbi)) +- Add HandlerAPI\(\) function to stratoscale template [\#1821](https://github.com/cloudentity/go-swagger/pull/1821) ([maxatome](https://github.com/maxatome)) +- Remove x net context from generated code [\#1819](https://github.com/cloudentity/go-swagger/pull/1819) ([fredbi](https://github.com/fredbi)) +- Acknowledge fix \#1816 with go-openapi updates [\#1818](https://github.com/cloudentity/go-swagger/pull/1818) ([fredbi](https://github.com/fredbi)) +- Fixed go generate paths in configure\_xxx.go [\#1810](https://github.com/cloudentity/go-swagger/pull/1810) ([fredbi](https://github.com/fredbi)) +- Fixed regression on Windows introduced by \#1804 [\#1809](https://github.com/cloudentity/go-swagger/pull/1809) ([fredbi](https://github.com/fredbi)) +- Handle array examples; document Example usage [\#1807](https://github.com/cloudentity/go-swagger/pull/1807) ([leon-barrett](https://github.com/leon-barrett)) +- Deprecates `--with-context` option [\#1806](https://github.com/cloudentity/go-swagger/pull/1806) ([fredbi](https://github.com/fredbi)) +- Fixes race condition in generated server [\#1805](https://github.com/cloudentity/go-swagger/pull/1805) ([fredbi](https://github.com/fredbi)) +- More mangling for generated package names and path [\#1804](https://github.com/cloudentity/go-swagger/pull/1804) ([fredbi](https://github.com/fredbi)) +- Fix slice validations in body param [\#1803](https://github.com/cloudentity/go-swagger/pull/1803) ([fredbi](https://github.com/fredbi)) +- chore: update vendor for performance [\#1802](https://github.com/cloudentity/go-swagger/pull/1802) ([orisano](https://github.com/orisano)) +- Use JSON for examples of type object [\#1801](https://github.com/cloudentity/go-swagger/pull/1801) ([leon-barrett](https://github.com/leon-barrett)) +- Fix go vet 11 issue with debugAsJSON func [\#1800](https://github.com/cloudentity/go-swagger/pull/1800) ([fredbi](https://github.com/fredbi)) +- Fix flattening spec with remote circular $ref [\#1799](https://github.com/cloudentity/go-swagger/pull/1799) ([fredbi](https://github.com/fredbi)) +- Allow '?' character in route path [\#1792](https://github.com/cloudentity/go-swagger/pull/1792) ([andrewmilson](https://github.com/andrewmilson)) +- There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it [\#1791](https://github.com/cloudentity/go-swagger/pull/1791) ([marsianin](https://github.com/marsianin)) +- fix client cannot unmarshal struct which contains null [\#1788](https://github.com/cloudentity/go-swagger/pull/1788) ([AlexInGitHub](https://github.com/AlexInGitHub)) +- Absorbing api names across multiple lines [\#1783](https://github.com/cloudentity/go-swagger/pull/1783) ([liyuankui](https://github.com/liyuankui)) +- fixes \#1778. Allow 'result' name for API parameter [\#1780](https://github.com/cloudentity/go-swagger/pull/1780) ([mtfelian](https://github.com/mtfelian)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.19.0.md b/notes/v0.19.0.md index 15adfb0ed..002743be9 100644 --- a/notes/v0.19.0.md +++ b/notes/v0.19.0.md @@ -1,51 +1,51 @@ # Change Log -## [v0.19.0](https://github.com/go-swagger/go-swagger/tree/v0.19.0) (2019-03-24) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.18.0...v0.19.0) +## [v0.19.0](https://github.com/cloudentity/go-swagger/tree/v0.19.0) (2019-03-24) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.18.0...v0.19.0) **Implemented enhancements:** -- Support for parsing property vendor extensions [\#1875](https://github.com/go-swagger/go-swagger/issues/1875) -- Provide check for runtime version [\#818](https://github.com/go-swagger/go-swagger/issues/818) +- Support for parsing property vendor extensions [\#1875](https://github.com/cloudentity/go-swagger/issues/1875) +- Provide check for runtime version [\#818](https://github.com/cloudentity/go-swagger/issues/818) **Fixed bugs:** -- Broken handling of $ref to a definition which maps to interface{} [\#1859](https://github.com/go-swagger/go-swagger/issues/1859) -- External x-go-type imports not resolved for arrays and references [\#1719](https://github.com/go-swagger/go-swagger/issues/1719) -- Race on call to Serve\(\) and \_\_\_\_\_Listener\(\) functions [\#1465](https://github.com/go-swagger/go-swagger/issues/1465) +- Broken handling of $ref to a definition which maps to interface{} [\#1859](https://github.com/cloudentity/go-swagger/issues/1859) +- External x-go-type imports not resolved for arrays and references [\#1719](https://github.com/cloudentity/go-swagger/issues/1719) +- Race on call to Serve\(\) and \_\_\_\_\_Listener\(\) functions [\#1465](https://github.com/cloudentity/go-swagger/issues/1465) - Responses defined in schema: restapi/operations/xxx\_responses.go:54:18: cannot make type models.YY [\#1260](https://github.com/go-swagger/go-swagger/issues/1260) **Closed issues:** -- Response struct goes under headers [\#1908](https://github.com/go-swagger/go-swagger/issues/1908) -- swagger generate error [\#1906](https://github.com/go-swagger/go-swagger/issues/1906) -- What should a custom Application Consumer return/produce? [\#1901](https://github.com/go-swagger/go-swagger/issues/1901) -- Server generation is much slower when using "--model-package" [\#1896](https://github.com/go-swagger/go-swagger/issues/1896) -- boolean parameters with default attribute, if parameter is not configured in the json, swagger will generate a null pointer for this field [\#1892](https://github.com/go-swagger/go-swagger/issues/1892) -- in: body not work as expected? [\#1890](https://github.com/go-swagger/go-swagger/issues/1890) -- Spec generation - Multiple File Upload with multipart form [\#1884](https://github.com/go-swagger/go-swagger/issues/1884) -- omitempty [\#1883](https://github.com/go-swagger/go-swagger/issues/1883) -- Can't docker pull the latest versions by tag [\#1871](https://github.com/go-swagger/go-swagger/issues/1871) -- How to use go-swagger with easyjson? [\#1868](https://github.com/go-swagger/go-swagger/issues/1868) -- validator fails to report path parameters defined defined at operation level [\#1866](https://github.com/go-swagger/go-swagger/issues/1866) -- Invalid auto generated file with type:file in output. [\#1853](https://github.com/go-swagger/go-swagger/issues/1853) -- homebrew installation silently fails on generate [\#1261](https://github.com/go-swagger/go-swagger/issues/1261) +- Response struct goes under headers [\#1908](https://github.com/cloudentity/go-swagger/issues/1908) +- swagger generate error [\#1906](https://github.com/cloudentity/go-swagger/issues/1906) +- What should a custom Application Consumer return/produce? [\#1901](https://github.com/cloudentity/go-swagger/issues/1901) +- Server generation is much slower when using "--model-package" [\#1896](https://github.com/cloudentity/go-swagger/issues/1896) +- boolean parameters with default attribute, if parameter is not configured in the json, swagger will generate a null pointer for this field [\#1892](https://github.com/cloudentity/go-swagger/issues/1892) +- in: body not work as expected? [\#1890](https://github.com/cloudentity/go-swagger/issues/1890) +- Spec generation - Multiple File Upload with multipart form [\#1884](https://github.com/cloudentity/go-swagger/issues/1884) +- omitempty [\#1883](https://github.com/cloudentity/go-swagger/issues/1883) +- Can't docker pull the latest versions by tag [\#1871](https://github.com/cloudentity/go-swagger/issues/1871) +- How to use go-swagger with easyjson? [\#1868](https://github.com/cloudentity/go-swagger/issues/1868) +- validator fails to report path parameters defined defined at operation level [\#1866](https://github.com/cloudentity/go-swagger/issues/1866) +- Invalid auto generated file with type:file in output. [\#1853](https://github.com/cloudentity/go-swagger/issues/1853) +- homebrew installation silently fails on generate [\#1261](https://github.com/cloudentity/go-swagger/issues/1261) **Merged pull requests:** -- Generate properties with x-order above ones without [\#1907](https://github.com/go-swagger/go-swagger/pull/1907) ([e-nikolov](https://github.com/e-nikolov)) -- Server config api operation null check [\#1905](https://github.com/go-swagger/go-swagger/pull/1905) ([kellrott](https://github.com/kellrott)) -- Fix some typos [\#1900](https://github.com/go-swagger/go-swagger/pull/1900) ([knweiss](https://github.com/knweiss)) -- test coverage increase [\#1889](https://github.com/go-swagger/go-swagger/pull/1889) ([d7561985](https://github.com/d7561985)) -- spec gen/response: support swagger:file [\#1888](https://github.com/go-swagger/go-swagger/pull/1888) ([d7561985](https://github.com/d7561985)) -- Add support for property extensions [\#1876](https://github.com/go-swagger/go-swagger/pull/1876) ([fdelayen](https://github.com/fdelayen)) -- Add online playground to README.md [\#1870](https://github.com/go-swagger/go-swagger/pull/1870) ([jankeromnes](https://github.com/jankeromnes)) -- camelize error string to follow go style guide [\#1869](https://github.com/go-swagger/go-swagger/pull/1869) ([Liooo](https://github.com/Liooo)) -- Fixed regression following PR \#1849: wrong initializer in response [\#1861](https://github.com/go-swagger/go-swagger/pull/1861) ([fredbi](https://github.com/fredbi)) -- Add test case without output file for expand.go [\#1855](https://github.com/go-swagger/go-swagger/pull/1855) ([saromanov](https://github.com/saromanov)) -- Models: add support for $ref indirections [\#1849](https://github.com/go-swagger/go-swagger/pull/1849) ([fredbi](https://github.com/fredbi)) -- Improved support for x-go-type on compound objects [\#1848](https://github.com/go-swagger/go-swagger/pull/1848) ([fredbi](https://github.com/fredbi)) -- Check that only a single parameter is passed. [\#1846](https://github.com/go-swagger/go-swagger/pull/1846) ([AlekSi](https://github.com/AlekSi)) -- Correct doc typos [\#1844](https://github.com/go-swagger/go-swagger/pull/1844) ([maxatome](https://github.com/maxatome)) +- Generate properties with x-order above ones without [\#1907](https://github.com/cloudentity/go-swagger/pull/1907) ([e-nikolov](https://github.com/e-nikolov)) +- Server config api operation null check [\#1905](https://github.com/cloudentity/go-swagger/pull/1905) ([kellrott](https://github.com/kellrott)) +- Fix some typos [\#1900](https://github.com/cloudentity/go-swagger/pull/1900) ([knweiss](https://github.com/knweiss)) +- test coverage increase [\#1889](https://github.com/cloudentity/go-swagger/pull/1889) ([d7561985](https://github.com/d7561985)) +- spec gen/response: support swagger:file [\#1888](https://github.com/cloudentity/go-swagger/pull/1888) ([d7561985](https://github.com/d7561985)) +- Add support for property extensions [\#1876](https://github.com/cloudentity/go-swagger/pull/1876) ([fdelayen](https://github.com/fdelayen)) +- Add online playground to README.md [\#1870](https://github.com/cloudentity/go-swagger/pull/1870) ([jankeromnes](https://github.com/jankeromnes)) +- camelize error string to follow go style guide [\#1869](https://github.com/cloudentity/go-swagger/pull/1869) ([Liooo](https://github.com/Liooo)) +- Fixed regression following PR \#1849: wrong initializer in response [\#1861](https://github.com/cloudentity/go-swagger/pull/1861) ([fredbi](https://github.com/fredbi)) +- Add test case without output file for expand.go [\#1855](https://github.com/cloudentity/go-swagger/pull/1855) ([saromanov](https://github.com/saromanov)) +- Models: add support for $ref indirections [\#1849](https://github.com/cloudentity/go-swagger/pull/1849) ([fredbi](https://github.com/fredbi)) +- Improved support for x-go-type on compound objects [\#1848](https://github.com/cloudentity/go-swagger/pull/1848) ([fredbi](https://github.com/fredbi)) +- Check that only a single parameter is passed. [\#1846](https://github.com/cloudentity/go-swagger/pull/1846) ([AlekSi](https://github.com/AlekSi)) +- Correct doc typos [\#1844](https://github.com/cloudentity/go-swagger/pull/1844) ([maxatome](https://github.com/maxatome)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.20.0.md b/notes/v0.20.0.md index 4688eb38d..38f5e72fe 100644 --- a/notes/v0.20.0.md +++ b/notes/v0.20.0.md @@ -1,118 +1,118 @@ # Change Log -## [v0.20.0](https://github.com/go-swagger/go-swagger/tree/v0.20.0) (2019-08-18) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.19.0...v0.20.0) +## [v0.20.0](https://github.com/cloudentity/go-swagger/tree/v0.20.0) (2019-08-18) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.19.0...v0.20.0) **Implemented enhancements:** -- How To mark route deprecated? [\#2042](https://github.com/go-swagger/go-swagger/issues/2042) -- Pass OAuth2 scheme name to handler and add it on the request context [\#2041](https://github.com/go-swagger/go-swagger/issues/2041) -- Add `Payload\(\) \*models.TheError` to error types [\#2018](https://github.com/go-swagger/go-swagger/issues/2018) -- Use first tag for client package [\#1950](https://github.com/go-swagger/go-swagger/issues/1950) -- Add support for types of the new mongo-go-driver [\#1854](https://github.com/go-swagger/go-swagger/issues/1854) -- Bug or new logic to generate code with --with-flatten=minimal - by default ? [\#1704](https://github.com/go-swagger/go-swagger/issues/1704) -- Support for integer enums in go-swagger [\#1672](https://github.com/go-swagger/go-swagger/issues/1672) -- File parameter generated incorrectly in client code [\#1020](https://github.com/go-swagger/go-swagger/issues/1020) -- Add a diff command [\#151](https://github.com/go-swagger/go-swagger/issues/151) -- Keep object's parameters order as specified in swagger spec definition [\#125](https://github.com/go-swagger/go-swagger/issues/125) +- How To mark route deprecated? [\#2042](https://github.com/cloudentity/go-swagger/issues/2042) +- Pass OAuth2 scheme name to handler and add it on the request context [\#2041](https://github.com/cloudentity/go-swagger/issues/2041) +- Add `Payload\(\) \*models.TheError` to error types [\#2018](https://github.com/cloudentity/go-swagger/issues/2018) +- Use first tag for client package [\#1950](https://github.com/cloudentity/go-swagger/issues/1950) +- Add support for types of the new mongo-go-driver [\#1854](https://github.com/cloudentity/go-swagger/issues/1854) +- Bug or new logic to generate code with --with-flatten=minimal - by default ? [\#1704](https://github.com/cloudentity/go-swagger/issues/1704) +- Support for integer enums in go-swagger [\#1672](https://github.com/cloudentity/go-swagger/issues/1672) +- File parameter generated incorrectly in client code [\#1020](https://github.com/cloudentity/go-swagger/issues/1020) +- Add a diff command [\#151](https://github.com/cloudentity/go-swagger/issues/151) +- Keep object's parameters order as specified in swagger spec definition [\#125](https://github.com/cloudentity/go-swagger/issues/125) **Fixed bugs:** -- unknown type for field interface{}: \*types.Interface [\#2011](https://github.com/go-swagger/go-swagger/issues/2011) -- Unknown type for field: \*types.Map [\#2007](https://github.com/go-swagger/go-swagger/issues/2007) -- New scanner \(go module aware\) may randomly fail [\#1997](https://github.com/go-swagger/go-swagger/issues/1997) -- Server crashes when polymorphic value is absent in post body [\#1993](https://github.com/go-swagger/go-swagger/issues/1993) -- Mixin host issue [\#1965](https://github.com/go-swagger/go-swagger/issues/1965) -- Two different parameter names derived from specification [\#1952](https://github.com/go-swagger/go-swagger/issues/1952) -- Swagger generates and uses different models in case of definition name starts with Digit [\#1937](https://github.com/go-swagger/go-swagger/issues/1937) -- Generating uncompilable code when response code \>= 512 [\#1893](https://github.com/go-swagger/go-swagger/issues/1893) -- swagger mixin bug [\#1886](https://github.com/go-swagger/go-swagger/issues/1886) -- swagger mixin sends all output to stderr [\#1878](https://github.com/go-swagger/go-swagger/issues/1878) -- Why is docker image "latest" NOT aligned with the latest tag? [\#1873](https://github.com/go-swagger/go-swagger/issues/1873) -- Duplicate constants when referencing definitions with enums in another files [\#1851](https://github.com/go-swagger/go-swagger/issues/1851) -- swagger generate spec throws a lot of errors with golang 1.11 [\#1671](https://github.com/go-swagger/go-swagger/issues/1671) -- panic: interface conversion: interface {} is \*mypackage.PostActionsDefault, not \*mypackage.PostActionsCreated [\#1518](https://github.com/go-swagger/go-swagger/issues/1518) -- Client parameters don't set body when model is an interface [\#1490](https://github.com/go-swagger/go-swagger/issues/1490) -- Generated client parameter does not set request body for schema type string format binary [\#1339](https://github.com/go-swagger/go-swagger/issues/1339) -- Client Request Parameters - lint error [\#973](https://github.com/go-swagger/go-swagger/issues/973) +- unknown type for field interface{}: \*types.Interface [\#2011](https://github.com/cloudentity/go-swagger/issues/2011) +- Unknown type for field: \*types.Map [\#2007](https://github.com/cloudentity/go-swagger/issues/2007) +- New scanner \(go module aware\) may randomly fail [\#1997](https://github.com/cloudentity/go-swagger/issues/1997) +- Server crashes when polymorphic value is absent in post body [\#1993](https://github.com/cloudentity/go-swagger/issues/1993) +- Mixin host issue [\#1965](https://github.com/cloudentity/go-swagger/issues/1965) +- Two different parameter names derived from specification [\#1952](https://github.com/cloudentity/go-swagger/issues/1952) +- Swagger generates and uses different models in case of definition name starts with Digit [\#1937](https://github.com/cloudentity/go-swagger/issues/1937) +- Generating uncompilable code when response code \>= 512 [\#1893](https://github.com/cloudentity/go-swagger/issues/1893) +- swagger mixin bug [\#1886](https://github.com/cloudentity/go-swagger/issues/1886) +- swagger mixin sends all output to stderr [\#1878](https://github.com/cloudentity/go-swagger/issues/1878) +- Why is docker image "latest" NOT aligned with the latest tag? [\#1873](https://github.com/cloudentity/go-swagger/issues/1873) +- Duplicate constants when referencing definitions with enums in another files [\#1851](https://github.com/cloudentity/go-swagger/issues/1851) +- swagger generate spec throws a lot of errors with golang 1.11 [\#1671](https://github.com/cloudentity/go-swagger/issues/1671) +- panic: interface conversion: interface {} is \*mypackage.PostActionsDefault, not \*mypackage.PostActionsCreated [\#1518](https://github.com/cloudentity/go-swagger/issues/1518) +- Client parameters don't set body when model is an interface [\#1490](https://github.com/cloudentity/go-swagger/issues/1490) +- Generated client parameter does not set request body for schema type string format binary [\#1339](https://github.com/cloudentity/go-swagger/issues/1339) +- Client Request Parameters - lint error [\#973](https://github.com/cloudentity/go-swagger/issues/973) **Closed issues:** -- swagger failed to validate type: file in formData parameters. [\#2039](https://github.com/go-swagger/go-swagger/issues/2039) -- stratoscale client template breaks on multiline descriptions [\#2036](https://github.com/go-swagger/go-swagger/issues/2036) -- No useful documentation exists for spec generation [\#2032](https://github.com/go-swagger/go-swagger/issues/2032) -- swagger:strfmt annotation incompatible with slice type [\#2030](https://github.com/go-swagger/go-swagger/issues/2030) -- Can go-swagger support this json tag? Id int64 "json:id,string"? [\#2029](https://github.com/go-swagger/go-swagger/issues/2029) -- int64 "json:id,string" [\#2028](https://github.com/go-swagger/go-swagger/issues/2028) -- go1.11 generate spec doesn't respect exclude [\#2023](https://github.com/go-swagger/go-swagger/issues/2023) -- Cannot use dynamic certificate selection on servers [\#2016](https://github.com/go-swagger/go-swagger/issues/2016) -- unknown flag `b' swagger generate [\#2005](https://github.com/go-swagger/go-swagger/issues/2005) -- Swagger generate spec has broken on Gitea [\#2001](https://github.com/go-swagger/go-swagger/issues/2001) -- swagger:ignore not working [\#1994](https://github.com/go-swagger/go-swagger/issues/1994) -- Getting started guide [\#1989](https://github.com/go-swagger/go-swagger/issues/1989) -- Working with `type: object` in handlers [\#1967](https://github.com/go-swagger/go-swagger/issues/1967) -- Generated and customized go-swagger server compiles, executes and initializes correctly, but does not handle any requests [\#1953](https://github.com/go-swagger/go-swagger/issues/1953) -- Query parameter can't be named 'append' when enum appearing also [\#1948](https://github.com/go-swagger/go-swagger/issues/1948) -- generate spec with ordered keys [\#1946](https://github.com/go-swagger/go-swagger/issues/1946) -- Generate property with empty string \(''\) [\#1945](https://github.com/go-swagger/go-swagger/issues/1945) -- Unable to deserialize array int json: cannot unmarshal string into Go struct. Failed due to array having integer and string. Fix in comments [\#1932](https://github.com/go-swagger/go-swagger/issues/1932) -- How do I access the response headers? [\#1918](https://github.com/go-swagger/go-swagger/issues/1918) +- swagger failed to validate type: file in formData parameters. [\#2039](https://github.com/cloudentity/go-swagger/issues/2039) +- stratoscale client template breaks on multiline descriptions [\#2036](https://github.com/cloudentity/go-swagger/issues/2036) +- No useful documentation exists for spec generation [\#2032](https://github.com/cloudentity/go-swagger/issues/2032) +- swagger:strfmt annotation incompatible with slice type [\#2030](https://github.com/cloudentity/go-swagger/issues/2030) +- Can go-swagger support this json tag? Id int64 "json:id,string"? [\#2029](https://github.com/cloudentity/go-swagger/issues/2029) +- int64 "json:id,string" [\#2028](https://github.com/cloudentity/go-swagger/issues/2028) +- go1.11 generate spec doesn't respect exclude [\#2023](https://github.com/cloudentity/go-swagger/issues/2023) +- Cannot use dynamic certificate selection on servers [\#2016](https://github.com/cloudentity/go-swagger/issues/2016) +- unknown flag `b' swagger generate [\#2005](https://github.com/cloudentity/go-swagger/issues/2005) +- Swagger generate spec has broken on Gitea [\#2001](https://github.com/cloudentity/go-swagger/issues/2001) +- swagger:ignore not working [\#1994](https://github.com/cloudentity/go-swagger/issues/1994) +- Getting started guide [\#1989](https://github.com/cloudentity/go-swagger/issues/1989) +- Working with `type: object` in handlers [\#1967](https://github.com/cloudentity/go-swagger/issues/1967) +- Generated and customized go-swagger server compiles, executes and initializes correctly, but does not handle any requests [\#1953](https://github.com/cloudentity/go-swagger/issues/1953) +- Query parameter can't be named 'append' when enum appearing also [\#1948](https://github.com/cloudentity/go-swagger/issues/1948) +- generate spec with ordered keys [\#1946](https://github.com/cloudentity/go-swagger/issues/1946) +- Generate property with empty string \(''\) [\#1945](https://github.com/cloudentity/go-swagger/issues/1945) +- Unable to deserialize array int json: cannot unmarshal string into Go struct. Failed due to array having integer and string. Fix in comments [\#1932](https://github.com/cloudentity/go-swagger/issues/1932) +- How do I access the response headers? [\#1918](https://github.com/cloudentity/go-swagger/issues/1918) - POSTing to API that returns a 201 with a location header produces: \(\*interface {}\) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" [\#1917](https://github.com/go-swagger/go-swagger/issues/1917) -- Response struct goes under headers [\#1908](https://github.com/go-swagger/go-swagger/issues/1908) -- dep ensure -v report models is missing [\#1835](https://github.com/go-swagger/go-swagger/issues/1835) -- Installing with go get and go modules = on [\#1786](https://github.com/go-swagger/go-swagger/issues/1786) -- Swagger generate: can not import package [\#1784](https://github.com/go-swagger/go-swagger/issues/1784) -- It can not stop with recursive struct [\#1773](https://github.com/go-swagger/go-swagger/issues/1773) -- Basic auth in stratoscale templates [\#1765](https://github.com/go-swagger/go-swagger/issues/1765) -- Generate spec does not work with Go Modules [\#1681](https://github.com/go-swagger/go-swagger/issues/1681) +- Response struct goes under headers [\#1908](https://github.com/cloudentity/go-swagger/issues/1908) +- dep ensure -v report models is missing [\#1835](https://github.com/cloudentity/go-swagger/issues/1835) +- Installing with go get and go modules = on [\#1786](https://github.com/cloudentity/go-swagger/issues/1786) +- Swagger generate: can not import package [\#1784](https://github.com/cloudentity/go-swagger/issues/1784) +- It can not stop with recursive struct [\#1773](https://github.com/cloudentity/go-swagger/issues/1773) +- Basic auth in stratoscale templates [\#1765](https://github.com/cloudentity/go-swagger/issues/1765) +- Generate spec does not work with Go Modules [\#1681](https://github.com/cloudentity/go-swagger/issues/1681) **Merged pull requests:** -- update examples [\#2049](https://github.com/go-swagger/go-swagger/pull/2049) ([casualjim](https://github.com/casualjim)) -- update builder template to pass along oauth2 scheme name [\#2048](https://github.com/go-swagger/go-swagger/pull/2048) ([casualjim](https://github.com/casualjim)) -- Add docs and test coverage for route deprecated property [\#2047](https://github.com/go-swagger/go-swagger/pull/2047) ([MetalRex101](https://github.com/MetalRex101)) -- spec generation: added support for deprecated tag in route annotations [\#2045](https://github.com/go-swagger/go-swagger/pull/2045) ([fredbi](https://github.com/fredbi)) -- Add support for --strict-additional-properties [\#2040](https://github.com/go-swagger/go-swagger/pull/2040) ([connesc](https://github.com/connesc)) -- Fix multi-line comments in stratoscale client template [\#2037](https://github.com/go-swagger/go-swagger/pull/2037) ([avorima](https://github.com/avorima)) -- fix:walkImports should recursively traverse the imported package [\#2034](https://github.com/go-swagger/go-swagger/pull/2034) ([d0ngw](https://github.com/d0ngw)) -- Fixed template\_layout type-o [\#2033](https://github.com/go-swagger/go-swagger/pull/2033) ([delaman](https://github.com/delaman)) -- fixes detecting base64 for \[\]byte [\#2031](https://github.com/go-swagger/go-swagger/pull/2031) ([casualjim](https://github.com/casualjim)) -- fix typo and add more parser tests [\#2025](https://github.com/go-swagger/go-swagger/pull/2025) ([gregdhill](https://github.com/gregdhill)) -- enable explicit gen spec inclusion / exclusion or for all deps [\#2024](https://github.com/go-swagger/go-swagger/pull/2024) ([gregdhill](https://github.com/gregdhill)) -- Add method `Payload\(\)` to error types [\#2019](https://github.com/go-swagger/go-swagger/pull/2019) ([aeneasr](https://github.com/aeneasr)) -- 2016 - Allow dynamic TLS configurations in servers [\#2017](https://github.com/go-swagger/go-swagger/pull/2017) ([mmussomele](https://github.com/mmussomele)) -- also consider interface as valid body for response and request [\#2012](https://github.com/go-swagger/go-swagger/pull/2012) ([casualjim](https://github.com/casualjim)) -- consider maps as valid body for response and parameter [\#2010](https://github.com/go-swagger/go-swagger/pull/2010) ([casualjim](https://github.com/casualjim)) -- disable -race for testing phase, but allow for PR \#1944 to use -race [\#2008](https://github.com/go-swagger/go-swagger/pull/2008) ([casualjim](https://github.com/casualjim)) -- skip fields when they are not exported [\#2006](https://github.com/go-swagger/go-swagger/pull/2006) ([casualjim](https://github.com/casualjim)) -- refactor circleci build [\#2004](https://github.com/go-swagger/go-swagger/pull/2004) ([casualjim](https://github.com/casualjim)) -- use slices for collecting parameters to retain ordering [\#2003](https://github.com/go-swagger/go-swagger/pull/2003) ([casualjim](https://github.com/casualjim)) -- updated dependencies [\#1999](https://github.com/go-swagger/go-swagger/pull/1999) ([fredbi](https://github.com/fredbi)) -- Codegen edges cases [\#1998](https://github.com/go-swagger/go-swagger/pull/1998) ([fredbi](https://github.com/fredbi)) -- Model validation/polymorphism: added required / non required check [\#1996](https://github.com/go-swagger/go-swagger/pull/1996) ([fredbi](https://github.com/fredbi)) -- Set govet again [\#1995](https://github.com/go-swagger/go-swagger/pull/1995) ([fredbi](https://github.com/fredbi)) -- Go module aware scan [\#1991](https://github.com/go-swagger/go-swagger/pull/1991) ([casualjim](https://github.com/casualjim)) -- feat: Add getting started section to docs/use/spec.md [\#1990](https://github.com/go-swagger/go-swagger/pull/1990) ([pdrum](https://github.com/pdrum)) -- Integrates flatten fixes [\#1986](https://github.com/go-swagger/go-swagger/pull/1986) ([fredbi](https://github.com/fredbi)) -- Honour JSON ,string directive of ptr field when generating spec [\#1985](https://github.com/go-swagger/go-swagger/pull/1985) ([wych42](https://github.com/wych42)) -- ci: made codegen-nonreg.sh script less sensitive to merge conflicts [\#1983](https://github.com/go-swagger/go-swagger/pull/1983) ([fredbi](https://github.com/fredbi)) -- fixed push latest tag on releases [\#1982](https://github.com/go-swagger/go-swagger/pull/1982) ([fredbi](https://github.com/fredbi)) -- Added support for non-standard http codes [\#1980](https://github.com/go-swagger/go-swagger/pull/1980) ([fredbi](https://github.com/fredbi)) -- Fix 1878 [\#1979](https://github.com/go-swagger/go-swagger/pull/1979) ([fredbi](https://github.com/fredbi)) -- Generated client: handles unexpected successful responses [\#1978](https://github.com/go-swagger/go-swagger/pull/1978) ([fredbi](https://github.com/fredbi)) -- acknowledge various fixes for client [\#1977](https://github.com/go-swagger/go-swagger/pull/1977) ([fredbi](https://github.com/fredbi)) -- chore\(ci\): set codecov patch expectation to a fixed level [\#1976](https://github.com/go-swagger/go-swagger/pull/1976) ([fredbi](https://github.com/fredbi)) -- fix\(server\): generates server to enable http/2 [\#1975](https://github.com/go-swagger/go-swagger/pull/1975) ([fredbi](https://github.com/fredbi)) -- Fix basic auth for stratoscale template [\#1969](https://github.com/go-swagger/go-swagger/pull/1969) ([JoakimSoderberg](https://github.com/JoakimSoderberg)) -- keep spec order on nested objects [\#1968](https://github.com/go-swagger/go-swagger/pull/1968) ([efi-tectonic](https://github.com/efi-tectonic)) -- Multiple tags operations: deduce package from first tag [\#1964](https://github.com/go-swagger/go-swagger/pull/1964) ([maxatome](https://github.com/maxatome)) -- Add CodeTriage badge to go-swagger/go-swagger [\#1963](https://github.com/go-swagger/go-swagger/pull/1963) ([codetriage-readme-bot](https://github.com/codetriage-readme-bot)) -- do not force set the api logger to log.Printf [\#1962](https://github.com/go-swagger/go-swagger/pull/1962) ([djgilcrease](https://github.com/djgilcrease)) -- 151 add a diff sub command [\#1961](https://github.com/go-swagger/go-swagger/pull/1961) ([wjase](https://github.com/wjase)) -- scan: proper parse for numeric elements \(future validation pass\) [\#1959](https://github.com/go-swagger/go-swagger/pull/1959) ([d7561985](https://github.com/d7561985)) -- urlbuilder template fixed to support query params named 'append' [\#1949](https://github.com/go-swagger/go-swagger/pull/1949) ([jimturnquist](https://github.com/jimturnquist)) -- support keep spec properties order [\#1939](https://github.com/go-swagger/go-swagger/pull/1939) ([efi-tectonic](https://github.com/efi-tectonic)) -- x-go-type: if no imports are specified, assume that the referred type is inside the same package [\#1935](https://github.com/go-swagger/go-swagger/pull/1935) ([e-nikolov](https://github.com/e-nikolov)) -- Fix access\_token typo [\#1926](https://github.com/go-swagger/go-swagger/pull/1926) ([bithavoc](https://github.com/bithavoc)) +- update examples [\#2049](https://github.com/cloudentity/go-swagger/pull/2049) ([casualjim](https://github.com/casualjim)) +- update builder template to pass along oauth2 scheme name [\#2048](https://github.com/cloudentity/go-swagger/pull/2048) ([casualjim](https://github.com/casualjim)) +- Add docs and test coverage for route deprecated property [\#2047](https://github.com/cloudentity/go-swagger/pull/2047) ([MetalRex101](https://github.com/MetalRex101)) +- spec generation: added support for deprecated tag in route annotations [\#2045](https://github.com/cloudentity/go-swagger/pull/2045) ([fredbi](https://github.com/fredbi)) +- Add support for --strict-additional-properties [\#2040](https://github.com/cloudentity/go-swagger/pull/2040) ([connesc](https://github.com/connesc)) +- Fix multi-line comments in stratoscale client template [\#2037](https://github.com/cloudentity/go-swagger/pull/2037) ([avorima](https://github.com/avorima)) +- fix:walkImports should recursively traverse the imported package [\#2034](https://github.com/cloudentity/go-swagger/pull/2034) ([d0ngw](https://github.com/d0ngw)) +- Fixed template\_layout type-o [\#2033](https://github.com/cloudentity/go-swagger/pull/2033) ([delaman](https://github.com/delaman)) +- fixes detecting base64 for \[\]byte [\#2031](https://github.com/cloudentity/go-swagger/pull/2031) ([casualjim](https://github.com/casualjim)) +- fix typo and add more parser tests [\#2025](https://github.com/cloudentity/go-swagger/pull/2025) ([gregdhill](https://github.com/gregdhill)) +- enable explicit gen spec inclusion / exclusion or for all deps [\#2024](https://github.com/cloudentity/go-swagger/pull/2024) ([gregdhill](https://github.com/gregdhill)) +- Add method `Payload\(\)` to error types [\#2019](https://github.com/cloudentity/go-swagger/pull/2019) ([aeneasr](https://github.com/aeneasr)) +- 2016 - Allow dynamic TLS configurations in servers [\#2017](https://github.com/cloudentity/go-swagger/pull/2017) ([mmussomele](https://github.com/mmussomele)) +- also consider interface as valid body for response and request [\#2012](https://github.com/cloudentity/go-swagger/pull/2012) ([casualjim](https://github.com/casualjim)) +- consider maps as valid body for response and parameter [\#2010](https://github.com/cloudentity/go-swagger/pull/2010) ([casualjim](https://github.com/casualjim)) +- disable -race for testing phase, but allow for PR \#1944 to use -race [\#2008](https://github.com/cloudentity/go-swagger/pull/2008) ([casualjim](https://github.com/casualjim)) +- skip fields when they are not exported [\#2006](https://github.com/cloudentity/go-swagger/pull/2006) ([casualjim](https://github.com/casualjim)) +- refactor circleci build [\#2004](https://github.com/cloudentity/go-swagger/pull/2004) ([casualjim](https://github.com/casualjim)) +- use slices for collecting parameters to retain ordering [\#2003](https://github.com/cloudentity/go-swagger/pull/2003) ([casualjim](https://github.com/casualjim)) +- updated dependencies [\#1999](https://github.com/cloudentity/go-swagger/pull/1999) ([fredbi](https://github.com/fredbi)) +- Codegen edges cases [\#1998](https://github.com/cloudentity/go-swagger/pull/1998) ([fredbi](https://github.com/fredbi)) +- Model validation/polymorphism: added required / non required check [\#1996](https://github.com/cloudentity/go-swagger/pull/1996) ([fredbi](https://github.com/fredbi)) +- Set govet again [\#1995](https://github.com/cloudentity/go-swagger/pull/1995) ([fredbi](https://github.com/fredbi)) +- Go module aware scan [\#1991](https://github.com/cloudentity/go-swagger/pull/1991) ([casualjim](https://github.com/casualjim)) +- feat: Add getting started section to docs/use/spec.md [\#1990](https://github.com/cloudentity/go-swagger/pull/1990) ([pdrum](https://github.com/pdrum)) +- Integrates flatten fixes [\#1986](https://github.com/cloudentity/go-swagger/pull/1986) ([fredbi](https://github.com/fredbi)) +- Honour JSON ,string directive of ptr field when generating spec [\#1985](https://github.com/cloudentity/go-swagger/pull/1985) ([wych42](https://github.com/wych42)) +- ci: made codegen-nonreg.sh script less sensitive to merge conflicts [\#1983](https://github.com/cloudentity/go-swagger/pull/1983) ([fredbi](https://github.com/fredbi)) +- fixed push latest tag on releases [\#1982](https://github.com/cloudentity/go-swagger/pull/1982) ([fredbi](https://github.com/fredbi)) +- Added support for non-standard http codes [\#1980](https://github.com/cloudentity/go-swagger/pull/1980) ([fredbi](https://github.com/fredbi)) +- Fix 1878 [\#1979](https://github.com/cloudentity/go-swagger/pull/1979) ([fredbi](https://github.com/fredbi)) +- Generated client: handles unexpected successful responses [\#1978](https://github.com/cloudentity/go-swagger/pull/1978) ([fredbi](https://github.com/fredbi)) +- acknowledge various fixes for client [\#1977](https://github.com/cloudentity/go-swagger/pull/1977) ([fredbi](https://github.com/fredbi)) +- chore\(ci\): set codecov patch expectation to a fixed level [\#1976](https://github.com/cloudentity/go-swagger/pull/1976) ([fredbi](https://github.com/fredbi)) +- fix\(server\): generates server to enable http/2 [\#1975](https://github.com/cloudentity/go-swagger/pull/1975) ([fredbi](https://github.com/fredbi)) +- Fix basic auth for stratoscale template [\#1969](https://github.com/cloudentity/go-swagger/pull/1969) ([JoakimSoderberg](https://github.com/JoakimSoderberg)) +- keep spec order on nested objects [\#1968](https://github.com/cloudentity/go-swagger/pull/1968) ([efi-tectonic](https://github.com/efi-tectonic)) +- Multiple tags operations: deduce package from first tag [\#1964](https://github.com/cloudentity/go-swagger/pull/1964) ([maxatome](https://github.com/maxatome)) +- Add CodeTriage badge to go-swagger/go-swagger [\#1963](https://github.com/cloudentity/go-swagger/pull/1963) ([codetriage-readme-bot](https://github.com/codetriage-readme-bot)) +- do not force set the api logger to log.Printf [\#1962](https://github.com/cloudentity/go-swagger/pull/1962) ([djgilcrease](https://github.com/djgilcrease)) +- 151 add a diff sub command [\#1961](https://github.com/cloudentity/go-swagger/pull/1961) ([wjase](https://github.com/wjase)) +- scan: proper parse for numeric elements \(future validation pass\) [\#1959](https://github.com/cloudentity/go-swagger/pull/1959) ([d7561985](https://github.com/d7561985)) +- urlbuilder template fixed to support query params named 'append' [\#1949](https://github.com/cloudentity/go-swagger/pull/1949) ([jimturnquist](https://github.com/jimturnquist)) +- support keep spec properties order [\#1939](https://github.com/cloudentity/go-swagger/pull/1939) ([efi-tectonic](https://github.com/efi-tectonic)) +- x-go-type: if no imports are specified, assume that the referred type is inside the same package [\#1935](https://github.com/cloudentity/go-swagger/pull/1935) ([e-nikolov](https://github.com/e-nikolov)) +- Fix access\_token typo [\#1926](https://github.com/cloudentity/go-swagger/pull/1926) ([bithavoc](https://github.com/bithavoc)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.20.1.md b/notes/v0.20.1.md index 3c8fcdab8..ade2613c1 100644 --- a/notes/v0.20.1.md +++ b/notes/v0.20.1.md @@ -1,16 +1,16 @@ # Change Log -## [v0.20.1](https://github.com/go-swagger/go-swagger/tree/v0.20.1) (2019-08-19) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.20.0...v0.20.1) +## [v0.20.1](https://github.com/cloudentity/go-swagger/tree/v0.20.1) (2019-08-19) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.20.0...v0.20.1) **Fixed bugs:** -- 0.20.0 - invalid enum constants for "+" and "-" values [\#2050](https://github.com/go-swagger/go-swagger/issues/2050) +- 0.20.0 - invalid enum constants for "+" and "-" values [\#2050](https://github.com/cloudentity/go-swagger/issues/2050) **Merged pull requests:** -- Fixed the few remaining linting issues in generator package [\#2052](https://github.com/go-swagger/go-swagger/pull/2052) ([fredbi](https://github.com/fredbi)) -- Fixed regression on name generation for "+" or "-" enum values [\#2051](https://github.com/go-swagger/go-swagger/pull/2051) ([fredbi](https://github.com/fredbi)) -- use slices for collecting parameters to retain ordering [\#2003](https://github.com/go-swagger/go-swagger/pull/2003) ([casualjim](https://github.com/casualjim)) +- Fixed the few remaining linting issues in generator package [\#2052](https://github.com/cloudentity/go-swagger/pull/2052) ([fredbi](https://github.com/fredbi)) +- Fixed regression on name generation for "+" or "-" enum values [\#2051](https://github.com/cloudentity/go-swagger/pull/2051) ([fredbi](https://github.com/fredbi)) +- use slices for collecting parameters to retain ordering [\#2003](https://github.com/cloudentity/go-swagger/pull/2003) ([casualjim](https://github.com/casualjim)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.21.0.md b/notes/v0.21.0.md index 9a055ae2d..8c3d094c4 100644 --- a/notes/v0.21.0.md +++ b/notes/v0.21.0.md @@ -1,38 +1,38 @@ # Change Log -## [v0.21.0](https://github.com/go-swagger/go-swagger/tree/v0.21.0) (2019-10-19) +## [v0.21.0](https://github.com/cloudentity/go-swagger/tree/v0.21.0) (2019-10-19) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.20.1...v0.21.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.20.1...v0.21.0) **Implemented enhancements:** -- Add warning messages for inconsistent parameter types and validations [\#2069](https://github.com/go-swagger/go-swagger/issues/2069) +- Add warning messages for inconsistent parameter types and validations [\#2069](https://github.com/cloudentity/go-swagger/issues/2069) **Fixed bugs:** -- JSON tags are not honored in case of allOf. [\#2071](https://github.com/go-swagger/go-swagger/issues/2071) +- JSON tags are not honored in case of allOf. [\#2071](https://github.com/cloudentity/go-swagger/issues/2071) **Closed issues:** -- How to register a handler for the server? [\#2083](https://github.com/go-swagger/go-swagger/issues/2083) -- Flatten before serve [\#2078](https://github.com/go-swagger/go-swagger/issues/2078) -- Additional keys in response model [\#2073](https://github.com/go-swagger/go-swagger/issues/2073) -- Go v0.20.0: checksum mismatch when using GOPROXY=direct [\#2065](https://github.com/go-swagger/go-swagger/issues/2065) -- Code generation fails when swagger is built with go1.13 [\#2058](https://github.com/go-swagger/go-swagger/issues/2058) -- feature: support custom swagger type [\#1183](https://github.com/go-swagger/go-swagger/issues/1183) +- How to register a handler for the server? [\#2083](https://github.com/cloudentity/go-swagger/issues/2083) +- Flatten before serve [\#2078](https://github.com/cloudentity/go-swagger/issues/2078) +- Additional keys in response model [\#2073](https://github.com/cloudentity/go-swagger/issues/2073) +- Go v0.20.0: checksum mismatch when using GOPROXY=direct [\#2065](https://github.com/cloudentity/go-swagger/issues/2065) +- Code generation fails when swagger is built with go1.13 [\#2058](https://github.com/cloudentity/go-swagger/issues/2058) +- feature: support custom swagger type [\#1183](https://github.com/cloudentity/go-swagger/issues/1183) **Merged pull requests:** -- Add OpenAPI Terraform provider to 'Who is using this project?' section [\#2084](https://github.com/go-swagger/go-swagger/pull/2084) ([dikhan](https://github.com/dikhan)) -- Add flag to allow overwriting protected templates [\#2082](https://github.com/go-swagger/go-swagger/pull/2082) ([dominikznidar](https://github.com/dominikznidar)) -- Feat\(serve\) : Add flatten flag to serve command [\#2079](https://github.com/go-swagger/go-swagger/pull/2079) ([seblegall](https://github.com/seblegall)) -- added contrib to the docker image [\#2076](https://github.com/go-swagger/go-swagger/pull/2076) ([ronnie-stratoscale](https://github.com/ronnie-stratoscale)) -- Keep spec orders for mixin command [\#2074](https://github.com/go-swagger/go-swagger/pull/2074) ([BupycHuk](https://github.com/BupycHuk)) -- fixes undue propagation of x-go-name to tags in AllOf serializer [\#2072](https://github.com/go-swagger/go-swagger/pull/2072) ([fredbi](https://github.com/fredbi)) -- Provide example for configure command-line flags [\#2068](https://github.com/go-swagger/go-swagger/pull/2068) ([antonok](https://github.com/antonok)) -- Add default flag support `import "flags"` [\#2067](https://github.com/go-swagger/go-swagger/pull/2067) ([hisunwei](https://github.com/hisunwei)) -- Added installation instructions through docker for windows users [\#2061](https://github.com/go-swagger/go-swagger/pull/2061) ([EliCDavis](https://github.com/EliCDavis)) -- update go-openapi libraries for go 1.13 fix [\#2059](https://github.com/go-swagger/go-swagger/pull/2059) ([casualjim](https://github.com/casualjim)) +- Add OpenAPI Terraform provider to 'Who is using this project?' section [\#2084](https://github.com/cloudentity/go-swagger/pull/2084) ([dikhan](https://github.com/dikhan)) +- Add flag to allow overwriting protected templates [\#2082](https://github.com/cloudentity/go-swagger/pull/2082) ([dominikznidar](https://github.com/dominikznidar)) +- Feat\(serve\) : Add flatten flag to serve command [\#2079](https://github.com/cloudentity/go-swagger/pull/2079) ([seblegall](https://github.com/seblegall)) +- added contrib to the docker image [\#2076](https://github.com/cloudentity/go-swagger/pull/2076) ([ronnie-stratoscale](https://github.com/ronnie-stratoscale)) +- Keep spec orders for mixin command [\#2074](https://github.com/cloudentity/go-swagger/pull/2074) ([BupycHuk](https://github.com/BupycHuk)) +- fixes undue propagation of x-go-name to tags in AllOf serializer [\#2072](https://github.com/cloudentity/go-swagger/pull/2072) ([fredbi](https://github.com/fredbi)) +- Provide example for configure command-line flags [\#2068](https://github.com/cloudentity/go-swagger/pull/2068) ([antonok](https://github.com/antonok)) +- Add default flag support `import "flags"` [\#2067](https://github.com/cloudentity/go-swagger/pull/2067) ([hisunwei](https://github.com/hisunwei)) +- Added installation instructions through docker for windows users [\#2061](https://github.com/cloudentity/go-swagger/pull/2061) ([EliCDavis](https://github.com/EliCDavis)) +- update go-openapi libraries for go 1.13 fix [\#2059](https://github.com/cloudentity/go-swagger/pull/2059) ([casualjim](https://github.com/casualjim)) diff --git a/notes/v0.22.0.md b/notes/v0.22.0.md index b4b2d06ea..dff782835 100644 --- a/notes/v0.22.0.md +++ b/notes/v0.22.0.md @@ -1,98 +1,98 @@ # Changelog -## [v0.22.0](https://github.com/go-swagger/go-swagger/tree/v0.22.0) (2020-02-02) +## [v0.22.0](https://github.com/cloudentity/go-swagger/tree/v0.22.0) (2020-02-02) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.21.0...v0.22.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.21.0...v0.22.0) **Implemented enhancements:** -- Enable x-go-name in parameters [\#2167](https://github.com/go-swagger/go-swagger/issues/2167) -- How to generate a model with JSON ',string' directive for an int64 properties? [\#2144](https://github.com/go-swagger/go-swagger/issues/2144) -- Swagger tags starting with integer make formatting errors in operations [\#2111](https://github.com/go-swagger/go-swagger/issues/2111) -- Swagger Tags interfere with imported packages [\#2057](https://github.com/go-swagger/go-swagger/issues/2057) -- Issue generating servers which have 'api' in their name [\#1971](https://github.com/go-swagger/go-swagger/issues/1971) -- Support go modules [\#1724](https://github.com/go-swagger/go-swagger/issues/1724) -- generate spec: json.RawMessage doesn't represent the intent. [\#1622](https://github.com/go-swagger/go-swagger/issues/1622) -- Generated code don't pass on go vet [\#1573](https://github.com/go-swagger/go-swagger/issues/1573) -- Could Client be a concrete implementation of an interface? [\#1138](https://github.com/go-swagger/go-swagger/issues/1138) -- Unable to override operations package name [\#1049](https://github.com/go-swagger/go-swagger/issues/1049) +- Enable x-go-name in parameters [\#2167](https://github.com/cloudentity/go-swagger/issues/2167) +- How to generate a model with JSON ',string' directive for an int64 properties? [\#2144](https://github.com/cloudentity/go-swagger/issues/2144) +- Swagger tags starting with integer make formatting errors in operations [\#2111](https://github.com/cloudentity/go-swagger/issues/2111) +- Swagger Tags interfere with imported packages [\#2057](https://github.com/cloudentity/go-swagger/issues/2057) +- Issue generating servers which have 'api' in their name [\#1971](https://github.com/cloudentity/go-swagger/issues/1971) +- Support go modules [\#1724](https://github.com/cloudentity/go-swagger/issues/1724) +- generate spec: json.RawMessage doesn't represent the intent. [\#1622](https://github.com/cloudentity/go-swagger/issues/1622) +- Generated code don't pass on go vet [\#1573](https://github.com/cloudentity/go-swagger/issues/1573) +- Could Client be a concrete implementation of an interface? [\#1138](https://github.com/cloudentity/go-swagger/issues/1138) +- Unable to override operations package name [\#1049](https://github.com/cloudentity/go-swagger/issues/1049) **Fixed bugs:** -- Build fails due to duplicate methods [\#2199](https://github.com/go-swagger/go-swagger/issues/2199) -- Enum value "" generating code that does not compile [\#2139](https://github.com/go-swagger/go-swagger/issues/2139) +- Build fails due to duplicate methods [\#2199](https://github.com/cloudentity/go-swagger/issues/2199) +- Enum value "" generating code that does not compile [\#2139](https://github.com/cloudentity/go-swagger/issues/2139) - byte type string causes "models/test\_swagger.go:43:6: k declared and not used" [\#2136](https://github.com/go-swagger/go-swagger/issues/2136) -- x-omitempty handling is incorrect with $ref [\#2116](https://github.com/go-swagger/go-swagger/issues/2116) -- Flatten \(and generate\) fails intermittently [\#2092](https://github.com/go-swagger/go-swagger/issues/2092) -- panic: Invalid schema provided to SchemaValidator: object has no key "default" [\#2063](https://github.com/go-swagger/go-swagger/issues/2063) -- Data Race between Serve\(\) and Shutdown\(\) [\#1943](https://github.com/go-swagger/go-swagger/issues/1943) -- doc.go fails to compile when passed a certain invalid mime-type [\#1663](https://github.com/go-swagger/go-swagger/issues/1663) -- Multiple media parameters on producers generate code that does not compile [\#1377](https://github.com/go-swagger/go-swagger/issues/1377) +- x-omitempty handling is incorrect with $ref [\#2116](https://github.com/cloudentity/go-swagger/issues/2116) +- Flatten \(and generate\) fails intermittently [\#2092](https://github.com/cloudentity/go-swagger/issues/2092) +- panic: Invalid schema provided to SchemaValidator: object has no key "default" [\#2063](https://github.com/cloudentity/go-swagger/issues/2063) +- Data Race between Serve\(\) and Shutdown\(\) [\#1943](https://github.com/cloudentity/go-swagger/issues/1943) +- doc.go fails to compile when passed a certain invalid mime-type [\#1663](https://github.com/cloudentity/go-swagger/issues/1663) +- Multiple media parameters on producers generate code that does not compile [\#1377](https://github.com/cloudentity/go-swagger/issues/1377) **Closed issues:** -- Swagger adds to a spec not exported parameters fields [\#2164](https://github.com/go-swagger/go-swagger/issues/2164) -- generate client library: definition "" contains duplicate properties: \[\] \(or crash when --skip-validation\) [\#2156](https://github.com/go-swagger/go-swagger/issues/2156) -- model will not be generate if it's used as a map's value type in response body [\#2145](https://github.com/go-swagger/go-swagger/issues/2145) -- How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? [\#2134](https://github.com/go-swagger/go-swagger/issues/2134) -- why `generate operation` is required name option? [\#2123](https://github.com/go-swagger/go-swagger/issues/2123) -- Endless loop in `swagger generate spec` [\#2122](https://github.com/go-swagger/go-swagger/issues/2122) -- Add ability for server pre-shutdown hook [\#2108](https://github.com/go-swagger/go-swagger/issues/2108) -- File type in form-data [\#2105](https://github.com/go-swagger/go-swagger/issues/2105) -- add parameters on router [\#2104](https://github.com/go-swagger/go-swagger/issues/2104) -- unrecognized import path "dmitri.shuralyov.com/gpu/mtl" [\#2094](https://github.com/go-swagger/go-swagger/issues/2094) -- docs/guideline is outdated [\#2091](https://github.com/go-swagger/go-swagger/issues/2091) -- generated code can not pass gofmt [\#2089](https://github.com/go-swagger/go-swagger/issues/2089) -- faq\_model.md link to more info about date is broken [\#2088](https://github.com/go-swagger/go-swagger/issues/2088) -- v0.21.0 not published on bintray [\#2085](https://github.com/go-swagger/go-swagger/issues/2085) -- Please create a new release [\#2080](https://github.com/go-swagger/go-swagger/issues/2080) -- Randomly getting peer connection reset error with the generated client [\#1954](https://github.com/go-swagger/go-swagger/issues/1954) -- swagger generate server exception [\#1882](https://github.com/go-swagger/go-swagger/issues/1882) -- Please add GPG Public Key to deb repo [\#1812](https://github.com/go-swagger/go-swagger/issues/1812) +- Swagger adds to a spec not exported parameters fields [\#2164](https://github.com/cloudentity/go-swagger/issues/2164) +- generate client library: definition "" contains duplicate properties: \[\] \(or crash when --skip-validation\) [\#2156](https://github.com/cloudentity/go-swagger/issues/2156) +- model will not be generate if it's used as a map's value type in response body [\#2145](https://github.com/cloudentity/go-swagger/issues/2145) +- How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? [\#2134](https://github.com/cloudentity/go-swagger/issues/2134) +- why `generate operation` is required name option? [\#2123](https://github.com/cloudentity/go-swagger/issues/2123) +- Endless loop in `swagger generate spec` [\#2122](https://github.com/cloudentity/go-swagger/issues/2122) +- Add ability for server pre-shutdown hook [\#2108](https://github.com/cloudentity/go-swagger/issues/2108) +- File type in form-data [\#2105](https://github.com/cloudentity/go-swagger/issues/2105) +- add parameters on router [\#2104](https://github.com/cloudentity/go-swagger/issues/2104) +- unrecognized import path "dmitri.shuralyov.com/gpu/mtl" [\#2094](https://github.com/cloudentity/go-swagger/issues/2094) +- docs/guideline is outdated [\#2091](https://github.com/cloudentity/go-swagger/issues/2091) +- generated code can not pass gofmt [\#2089](https://github.com/cloudentity/go-swagger/issues/2089) +- faq\_model.md link to more info about date is broken [\#2088](https://github.com/cloudentity/go-swagger/issues/2088) +- v0.21.0 not published on bintray [\#2085](https://github.com/cloudentity/go-swagger/issues/2085) +- Please create a new release [\#2080](https://github.com/cloudentity/go-swagger/issues/2080) +- Randomly getting peer connection reset error with the generated client [\#1954](https://github.com/cloudentity/go-swagger/issues/1954) +- swagger generate server exception [\#1882](https://github.com/cloudentity/go-swagger/issues/1882) +- Please add GPG Public Key to deb repo [\#1812](https://github.com/cloudentity/go-swagger/issues/1812) **Merged pull requests:** -- \#2199 Remove the duplicate `withEnum` functions inside `scan` package [\#2200](https://github.com/go-swagger/go-swagger/pull/2200) ([sam016](https://github.com/sam016)) -- regen samples [\#2196](https://github.com/go-swagger/go-swagger/pull/2196) ([fredbi](https://github.com/fredbi)) -- updated go.mod with go get -u ./... && go mod tidy [\#2195](https://github.com/go-swagger/go-swagger/pull/2195) ([fredbi](https://github.com/fredbi)) -- Throttle memory in codegen CI [\#2193](https://github.com/go-swagger/go-swagger/pull/2193) ([fredbi](https://github.com/fredbi)) -- Fix client generation's mapvalidator with additionalProperties [\#2190](https://github.com/go-swagger/go-swagger/pull/2190) ([hmalphettes](https://github.com/hmalphettes)) -- Review of codegen imports and package name mangling [\#2181](https://github.com/go-swagger/go-swagger/pull/2181) ([fredbi](https://github.com/fredbi)) -- fix some typo I find in custom-server.md [\#2179](https://github.com/go-swagger/go-swagger/pull/2179) ([yuzp1996](https://github.com/yuzp1996)) -- Fixed release Dockerfiles [\#2178](https://github.com/go-swagger/go-swagger/pull/2178) ([fredbi](https://github.com/fredbi)) -- refactored code generator [\#2177](https://github.com/go-swagger/go-swagger/pull/2177) ([fredbi](https://github.com/fredbi)) -- Feature/morlays enum [\#2176](https://github.com/go-swagger/go-swagger/pull/2176) ([sam016](https://github.com/sam016)) -- CLI: refactored CLI commands to introduce command groups [\#2173](https://github.com/go-swagger/go-swagger/pull/2173) ([fredbi](https://github.com/fredbi)) -- changes for \#2054 - extension fields in info.contact do not propagate… [\#2171](https://github.com/go-swagger/go-swagger/pull/2171) ([kul-amr](https://github.com/kul-amr)) -- Fix processing type declarations [\#2169](https://github.com/go-swagger/go-swagger/pull/2169) ([novasharper](https://github.com/novasharper)) -- feat\(parameters\): query & path parameters now accept x-go-name [\#2168](https://github.com/go-swagger/go-swagger/pull/2168) ([maxatome](https://github.com/maxatome)) -- ignore not exported params fields [\#2165](https://github.com/go-swagger/go-swagger/pull/2165) ([mfranczy](https://github.com/mfranczy)) -- fix typo [\#2162](https://github.com/go-swagger/go-swagger/pull/2162) ([derekperkins](https://github.com/derekperkins)) -- fix: missing adding postDecls in response map field [\#2159](https://github.com/go-swagger/go-swagger/pull/2159) ([autumn31](https://github.com/autumn31)) -- CI codegen [\#2158](https://github.com/go-swagger/go-swagger/pull/2158) ([fredbi](https://github.com/fredbi)) -- add x-go-json-string [\#2157](https://github.com/go-swagger/go-swagger/pull/2157) ([mail2fish](https://github.com/mail2fish)) -- fixed some edge cases when deconflicting client timeout parameters [\#2155](https://github.com/go-swagger/go-swagger/pull/2155) ([fredbi](https://github.com/fredbi)) -- Speedup 'swagger generate' by not re-parsing schemas many times [\#2152](https://github.com/go-swagger/go-swagger/pull/2152) ([misha-ridge](https://github.com/misha-ridge)) -- Client template interfaces [\#2151](https://github.com/go-swagger/go-swagger/pull/2151) ([fredbi](https://github.com/fredbi)) -- Bugfix/data race serve shutdown [\#2150](https://github.com/go-swagger/go-swagger/pull/2150) ([fredbi](https://github.com/fredbi)) -- fix\(doc\): fixed broken link in models FAQ [\#2149](https://github.com/go-swagger/go-swagger/pull/2149) ([fredbi](https://github.com/fredbi)) -- Fixed x-omitempty in the case of $ref'ed schemas [\#2148](https://github.com/go-swagger/go-swagger/pull/2148) ([fredbi](https://github.com/fredbi)) -- fix\(doc\): updated contributing guidelines [\#2147](https://github.com/go-swagger/go-swagger/pull/2147) ([fredbi](https://github.com/fredbi)) -- fix\(model\): fixes validations for format="byte" \(no format validation\) [\#2146](https://github.com/go-swagger/go-swagger/pull/2146) ([fredbi](https://github.com/fredbi)) -- Add support for empty enum values [\#2143](https://github.com/go-swagger/go-swagger/pull/2143) ([fredbi](https://github.com/fredbi)) -- Fix overwriting security definitions on call Server.SetAPI\(\) [\#2140](https://github.com/go-swagger/go-swagger/pull/2140) ([h0mjam](https://github.com/h0mjam)) -- fix endless loop issue for pkg import analysis [\#2138](https://github.com/go-swagger/go-swagger/pull/2138) ([mfranczy](https://github.com/mfranczy)) -- Support multiple mime type specifications, with parameters [\#2120](https://github.com/go-swagger/go-swagger/pull/2120) ([fredbi](https://github.com/fredbi)) -- Add .Context to location template context [\#2118](https://github.com/go-swagger/go-swagger/pull/2118) ([aeneasr](https://github.com/aeneasr)) -- Support AllowTemplateOverride in `generate client` [\#2117](https://github.com/go-swagger/go-swagger/pull/2117) ([aeneasr](https://github.com/aeneasr)) -- CI refactoring [\#2114](https://github.com/go-swagger/go-swagger/pull/2114) ([fredbi](https://github.com/fredbi)) -- Issue:2108 - Adding files/tests to support PreServerShutdown - Take2 [\#2110](https://github.com/go-swagger/go-swagger/pull/2110) ([keperry](https://github.com/keperry)) -- codescan: Natively support json.RawMessage [\#2107](https://github.com/go-swagger/go-swagger/pull/2107) ([aeneasr](https://github.com/aeneasr)) -- support json tag with no name [\#2095](https://github.com/go-swagger/go-swagger/pull/2095) ([okhowang](https://github.com/okhowang)) -- Update go-openapi/analysis [\#2093](https://github.com/go-swagger/go-swagger/pull/2093) ([fredbi](https://github.com/fredbi)) -- fix: generated code can not pass gofmt \#2089 [\#2090](https://github.com/go-swagger/go-swagger/pull/2090) ([elonzh](https://github.com/elonzh)) -- updates docs for deb install with apt-secure [\#2087](https://github.com/go-swagger/go-swagger/pull/2087) ([casualjim](https://github.com/casualjim)) -- regenerated examples with v0.21.0 [\#2086](https://github.com/go-swagger/go-swagger/pull/2086) ([fredbi](https://github.com/fredbi)) +- \#2199 Remove the duplicate `withEnum` functions inside `scan` package [\#2200](https://github.com/cloudentity/go-swagger/pull/2200) ([sam016](https://github.com/sam016)) +- regen samples [\#2196](https://github.com/cloudentity/go-swagger/pull/2196) ([fredbi](https://github.com/fredbi)) +- updated go.mod with go get -u ./... && go mod tidy [\#2195](https://github.com/cloudentity/go-swagger/pull/2195) ([fredbi](https://github.com/fredbi)) +- Throttle memory in codegen CI [\#2193](https://github.com/cloudentity/go-swagger/pull/2193) ([fredbi](https://github.com/fredbi)) +- Fix client generation's mapvalidator with additionalProperties [\#2190](https://github.com/cloudentity/go-swagger/pull/2190) ([hmalphettes](https://github.com/hmalphettes)) +- Review of codegen imports and package name mangling [\#2181](https://github.com/cloudentity/go-swagger/pull/2181) ([fredbi](https://github.com/fredbi)) +- fix some typo I find in custom-server.md [\#2179](https://github.com/cloudentity/go-swagger/pull/2179) ([yuzp1996](https://github.com/yuzp1996)) +- Fixed release Dockerfiles [\#2178](https://github.com/cloudentity/go-swagger/pull/2178) ([fredbi](https://github.com/fredbi)) +- refactored code generator [\#2177](https://github.com/cloudentity/go-swagger/pull/2177) ([fredbi](https://github.com/fredbi)) +- Feature/morlays enum [\#2176](https://github.com/cloudentity/go-swagger/pull/2176) ([sam016](https://github.com/sam016)) +- CLI: refactored CLI commands to introduce command groups [\#2173](https://github.com/cloudentity/go-swagger/pull/2173) ([fredbi](https://github.com/fredbi)) +- changes for \#2054 - extension fields in info.contact do not propagate… [\#2171](https://github.com/cloudentity/go-swagger/pull/2171) ([kul-amr](https://github.com/kul-amr)) +- Fix processing type declarations [\#2169](https://github.com/cloudentity/go-swagger/pull/2169) ([novasharper](https://github.com/novasharper)) +- feat\(parameters\): query & path parameters now accept x-go-name [\#2168](https://github.com/cloudentity/go-swagger/pull/2168) ([maxatome](https://github.com/maxatome)) +- ignore not exported params fields [\#2165](https://github.com/cloudentity/go-swagger/pull/2165) ([mfranczy](https://github.com/mfranczy)) +- fix typo [\#2162](https://github.com/cloudentity/go-swagger/pull/2162) ([derekperkins](https://github.com/derekperkins)) +- fix: missing adding postDecls in response map field [\#2159](https://github.com/cloudentity/go-swagger/pull/2159) ([autumn31](https://github.com/autumn31)) +- CI codegen [\#2158](https://github.com/cloudentity/go-swagger/pull/2158) ([fredbi](https://github.com/fredbi)) +- add x-go-json-string [\#2157](https://github.com/cloudentity/go-swagger/pull/2157) ([mail2fish](https://github.com/mail2fish)) +- fixed some edge cases when deconflicting client timeout parameters [\#2155](https://github.com/cloudentity/go-swagger/pull/2155) ([fredbi](https://github.com/fredbi)) +- Speedup 'swagger generate' by not re-parsing schemas many times [\#2152](https://github.com/cloudentity/go-swagger/pull/2152) ([misha-ridge](https://github.com/misha-ridge)) +- Client template interfaces [\#2151](https://github.com/cloudentity/go-swagger/pull/2151) ([fredbi](https://github.com/fredbi)) +- Bugfix/data race serve shutdown [\#2150](https://github.com/cloudentity/go-swagger/pull/2150) ([fredbi](https://github.com/fredbi)) +- fix\(doc\): fixed broken link in models FAQ [\#2149](https://github.com/cloudentity/go-swagger/pull/2149) ([fredbi](https://github.com/fredbi)) +- Fixed x-omitempty in the case of $ref'ed schemas [\#2148](https://github.com/cloudentity/go-swagger/pull/2148) ([fredbi](https://github.com/fredbi)) +- fix\(doc\): updated contributing guidelines [\#2147](https://github.com/cloudentity/go-swagger/pull/2147) ([fredbi](https://github.com/fredbi)) +- fix\(model\): fixes validations for format="byte" \(no format validation\) [\#2146](https://github.com/cloudentity/go-swagger/pull/2146) ([fredbi](https://github.com/fredbi)) +- Add support for empty enum values [\#2143](https://github.com/cloudentity/go-swagger/pull/2143) ([fredbi](https://github.com/fredbi)) +- Fix overwriting security definitions on call Server.SetAPI\(\) [\#2140](https://github.com/cloudentity/go-swagger/pull/2140) ([h0mjam](https://github.com/h0mjam)) +- fix endless loop issue for pkg import analysis [\#2138](https://github.com/cloudentity/go-swagger/pull/2138) ([mfranczy](https://github.com/mfranczy)) +- Support multiple mime type specifications, with parameters [\#2120](https://github.com/cloudentity/go-swagger/pull/2120) ([fredbi](https://github.com/fredbi)) +- Add .Context to location template context [\#2118](https://github.com/cloudentity/go-swagger/pull/2118) ([aeneasr](https://github.com/aeneasr)) +- Support AllowTemplateOverride in `generate client` [\#2117](https://github.com/cloudentity/go-swagger/pull/2117) ([aeneasr](https://github.com/aeneasr)) +- CI refactoring [\#2114](https://github.com/cloudentity/go-swagger/pull/2114) ([fredbi](https://github.com/fredbi)) +- Issue:2108 - Adding files/tests to support PreServerShutdown - Take2 [\#2110](https://github.com/cloudentity/go-swagger/pull/2110) ([keperry](https://github.com/keperry)) +- codescan: Natively support json.RawMessage [\#2107](https://github.com/cloudentity/go-swagger/pull/2107) ([aeneasr](https://github.com/aeneasr)) +- support json tag with no name [\#2095](https://github.com/cloudentity/go-swagger/pull/2095) ([okhowang](https://github.com/okhowang)) +- Update go-openapi/analysis [\#2093](https://github.com/cloudentity/go-swagger/pull/2093) ([fredbi](https://github.com/fredbi)) +- fix: generated code can not pass gofmt \#2089 [\#2090](https://github.com/cloudentity/go-swagger/pull/2090) ([elonzh](https://github.com/elonzh)) +- updates docs for deb install with apt-secure [\#2087](https://github.com/cloudentity/go-swagger/pull/2087) ([casualjim](https://github.com/casualjim)) +- regenerated examples with v0.21.0 [\#2086](https://github.com/cloudentity/go-swagger/pull/2086) ([fredbi](https://github.com/fredbi)) diff --git a/notes/v0.23.0.md b/notes/v0.23.0.md index 91c7295db..512b7b480 100644 --- a/notes/v0.23.0.md +++ b/notes/v0.23.0.md @@ -1,43 +1,43 @@ # Changelog -## [v0.23.0](https://github.com/go-swagger/go-swagger/tree/v0.23.0) (2020-03-14) +## [v0.23.0](https://github.com/cloudentity/go-swagger/tree/v0.23.0) (2020-03-14) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.22.0...v0.23.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.22.0...v0.23.0) **Breaking changes:** -- Failed to load template schemabody [\#2223](https://github.com/go-swagger/go-swagger/issues/2223) +- Failed to load template schemabody [\#2223](https://github.com/cloudentity/go-swagger/issues/2223) **Implemented enhancements:** -- Add middleware router or a kind of path matching [\#2234](https://github.com/go-swagger/go-swagger/issues/2234) -- Incompatible naming convention for a path starting with one letter word [\#2213](https://github.com/go-swagger/go-swagger/issues/2213) +- Add middleware router or a kind of path matching [\#2234](https://github.com/cloudentity/go-swagger/issues/2234) +- Incompatible naming convention for a path starting with one letter word [\#2213](https://github.com/cloudentity/go-swagger/issues/2213) **Fixed bugs:** -- Code generation is broken due to stricter template syntax checks in Go 1.14 [\#2215](https://github.com/go-swagger/go-swagger/issues/2215) -- swagger generate spec -m gives inconsistent json every other run [\#2066](https://github.com/go-swagger/go-swagger/issues/2066) +- Code generation is broken due to stricter template syntax checks in Go 1.14 [\#2215](https://github.com/cloudentity/go-swagger/issues/2215) +- swagger generate spec -m gives inconsistent json every other run [\#2066](https://github.com/cloudentity/go-swagger/issues/2066) **Closed issues:** -- How to get matched route in a middleware ? [\#2238](https://github.com/go-swagger/go-swagger/issues/2238) -- Client generation failed: panic: object has no key "Map" [\#2237](https://github.com/go-swagger/go-swagger/issues/2237) -- generated server arguments not working [\#2227](https://github.com/go-swagger/go-swagger/issues/2227) -- codescan/meta.go: cannot use promoted field ContactInfoProps.URL in struct literal of type [\#2214](https://github.com/go-swagger/go-swagger/issues/2214) -- change project name for go-netbox [\#2206](https://github.com/go-swagger/go-swagger/issues/2206) +- How to get matched route in a middleware ? [\#2238](https://github.com/cloudentity/go-swagger/issues/2238) +- Client generation failed: panic: object has no key "Map" [\#2237](https://github.com/cloudentity/go-swagger/issues/2237) +- generated server arguments not working [\#2227](https://github.com/cloudentity/go-swagger/issues/2227) +- codescan/meta.go: cannot use promoted field ContactInfoProps.URL in struct literal of type [\#2214](https://github.com/cloudentity/go-swagger/issues/2214) +- change project name for go-netbox [\#2206](https://github.com/cloudentity/go-swagger/issues/2206) **Merged pull requests:** -- \[DOCKER\] don't run swagger with "root" [\#2240](https://github.com/go-swagger/go-swagger/pull/2240) ([deogracia](https://github.com/deogracia)) -- Add middleware setter for a route \(path prefix\) [\#2236](https://github.com/go-swagger/go-swagger/pull/2236) ([ilyakaznacheev](https://github.com/ilyakaznacheev)) -- Working around minor shortcoming in swag.ToGoName [\#2226](https://github.com/go-swagger/go-swagger/pull/2226) ([fredbi](https://github.com/fredbi)) -- fixed schemabody.gotmpl template regression caused by \#2221 [\#2225](https://github.com/go-swagger/go-swagger/pull/2225) ([fredbi](https://github.com/fredbi)) -- Fix `goimports` step incorrectly rewriting imports [\#2222](https://github.com/go-swagger/go-swagger/pull/2222) ([misha-ridge](https://github.com/misha-ridge)) -- Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY [\#2221](https://github.com/go-swagger/go-swagger/pull/2221) ([fredbi](https://github.com/fredbi)) -- Task: Update template imports to be consistent and ordered [\#2219](https://github.com/go-swagger/go-swagger/pull/2219) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- fix go-swagger\#2066 issue [\#2209](https://github.com/go-swagger/go-swagger/pull/2209) ([mfranczy](https://github.com/mfranczy)) -- Fix \#2206: Change project name for go-netbox [\#2207](https://github.com/go-swagger/go-swagger/pull/2207) ([kobayashi](https://github.com/kobayashi)) -- add option in model generation to output all definitions regardless of usage [\#2205](https://github.com/go-swagger/go-swagger/pull/2205) ([dan-j](https://github.com/dan-j)) +- \[DOCKER\] don't run swagger with "root" [\#2240](https://github.com/cloudentity/go-swagger/pull/2240) ([deogracia](https://github.com/deogracia)) +- Add middleware setter for a route \(path prefix\) [\#2236](https://github.com/cloudentity/go-swagger/pull/2236) ([ilyakaznacheev](https://github.com/ilyakaznacheev)) +- Working around minor shortcoming in swag.ToGoName [\#2226](https://github.com/cloudentity/go-swagger/pull/2226) ([fredbi](https://github.com/fredbi)) +- fixed schemabody.gotmpl template regression caused by \#2221 [\#2225](https://github.com/cloudentity/go-swagger/pull/2225) ([fredbi](https://github.com/fredbi)) +- Fix `goimports` step incorrectly rewriting imports [\#2222](https://github.com/cloudentity/go-swagger/pull/2222) ([misha-ridge](https://github.com/misha-ridge)) +- Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY [\#2221](https://github.com/cloudentity/go-swagger/pull/2221) ([fredbi](https://github.com/fredbi)) +- Task: Update template imports to be consistent and ordered [\#2219](https://github.com/cloudentity/go-swagger/pull/2219) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- fix go-swagger\#2066 issue [\#2209](https://github.com/cloudentity/go-swagger/pull/2209) ([mfranczy](https://github.com/mfranczy)) +- Fix \#2206: Change project name for go-netbox [\#2207](https://github.com/cloudentity/go-swagger/pull/2207) ([kobayashi](https://github.com/kobayashi)) +- add option in model generation to output all definitions regardless of usage [\#2205](https://github.com/cloudentity/go-swagger/pull/2205) ([dan-j](https://github.com/dan-j)) diff --git a/notes/v0.24.0.md b/notes/v0.24.0.md index 4be6ab415..9c95ef93c 100644 --- a/notes/v0.24.0.md +++ b/notes/v0.24.0.md @@ -1,39 +1,39 @@ # Changelog -## [v0.24.0](https://github.com/go-swagger/go-swagger/tree/v0.24.0) (2020-06-16) +## [v0.24.0](https://github.com/cloudentity/go-swagger/tree/v0.24.0) (2020-06-16) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.23.0...v0.24.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.23.0...v0.24.0) **Fixed bugs:** -- Body not written to request on post when schema is discriminated/anyOf/oneOf [\#1233](https://github.com/go-swagger/go-swagger/issues/1233) +- Body not written to request on post when schema is discriminated/anyOf/oneOf [\#1233](https://github.com/cloudentity/go-swagger/issues/1233) **Closed issues:** -- httptest'ing - scope not getting picked up [\#2307](https://github.com/go-swagger/go-swagger/issues/2307) -- not able to run my swagger [\#2298](https://github.com/go-swagger/go-swagger/issues/2298) -- websocket: response does not implement http.Hijacker [\#2288](https://github.com/go-swagger/go-swagger/issues/2288) -- client middleware? [\#2277](https://github.com/go-swagger/go-swagger/issues/2277) -- x-www-form-urlencoded server generation issue [\#2273](https://github.com/go-swagger/go-swagger/issues/2273) -- Spec generation docs out of date [\#2270](https://github.com/go-swagger/go-swagger/issues/2270) -- Generated client is receiving 422 error, but I can't see the body to figure out what is missing [\#2261](https://github.com/go-swagger/go-swagger/issues/2261) -- How can I get requester client IP in my controller ? [\#2260](https://github.com/go-swagger/go-swagger/issues/2260) -- Redirecting links in the docs [\#2253](https://github.com/go-swagger/go-swagger/issues/2253) -- Please make a new release for Go 1.14 [\#2239](https://github.com/go-swagger/go-swagger/issues/2239) -- Properties in "AllOf1" structs don't get marshaled in generated client [\#1232](https://github.com/go-swagger/go-swagger/issues/1232) +- httptest'ing - scope not getting picked up [\#2307](https://github.com/cloudentity/go-swagger/issues/2307) +- not able to run my swagger [\#2298](https://github.com/cloudentity/go-swagger/issues/2298) +- websocket: response does not implement http.Hijacker [\#2288](https://github.com/cloudentity/go-swagger/issues/2288) +- client middleware? [\#2277](https://github.com/cloudentity/go-swagger/issues/2277) +- x-www-form-urlencoded server generation issue [\#2273](https://github.com/cloudentity/go-swagger/issues/2273) +- Spec generation docs out of date [\#2270](https://github.com/cloudentity/go-swagger/issues/2270) +- Generated client is receiving 422 error, but I can't see the body to figure out what is missing [\#2261](https://github.com/cloudentity/go-swagger/issues/2261) +- How can I get requester client IP in my controller ? [\#2260](https://github.com/cloudentity/go-swagger/issues/2260) +- Redirecting links in the docs [\#2253](https://github.com/cloudentity/go-swagger/issues/2253) +- Please make a new release for Go 1.14 [\#2239](https://github.com/cloudentity/go-swagger/issues/2239) +- Properties in "AllOf1" structs don't get marshaled in generated client [\#1232](https://github.com/cloudentity/go-swagger/issues/1232) **Merged pull requests:** -- update to errors that carry the value [\#2313](https://github.com/go-swagger/go-swagger/pull/2313) ([casualjim](https://github.com/casualjim)) -- fix: afld check nil [\#2303](https://github.com/go-swagger/go-swagger/pull/2303) ([bbxytl](https://github.com/bbxytl)) -- Set struct tags on generator options [\#2289](https://github.com/go-swagger/go-swagger/pull/2289) ([vincentvanderweele](https://github.com/vincentvanderweele)) -- Fix multiline descriptions for the stratoscale template [\#2282](https://github.com/go-swagger/go-swagger/pull/2282) ([JoakimSoderberg](https://github.com/JoakimSoderberg)) -- Allow passing struct tags from command line [\#2281](https://github.com/go-swagger/go-swagger/pull/2281) ([vincentvanderweele](https://github.com/vincentvanderweele)) -- fix wrong pointer designation [\#2274](https://github.com/go-swagger/go-swagger/pull/2274) ([casualjim](https://github.com/casualjim)) -- Update docs for spec generation [\#2271](https://github.com/go-swagger/go-swagger/pull/2271) ([glindsell](https://github.com/glindsell)) -- Improvements for XML support [\#2265](https://github.com/go-swagger/go-swagger/pull/2265) ([nubenum](https://github.com/nubenum)) -- Add support of case-insensitive enums \(\#303\) [\#2264](https://github.com/go-swagger/go-swagger/pull/2264) ([pheepi](https://github.com/pheepi)) -- Basic support for XML model generation [\#2241](https://github.com/go-swagger/go-swagger/pull/2241) ([nubenum](https://github.com/nubenum)) +- update to errors that carry the value [\#2313](https://github.com/cloudentity/go-swagger/pull/2313) ([casualjim](https://github.com/casualjim)) +- fix: afld check nil [\#2303](https://github.com/cloudentity/go-swagger/pull/2303) ([bbxytl](https://github.com/bbxytl)) +- Set struct tags on generator options [\#2289](https://github.com/cloudentity/go-swagger/pull/2289) ([vincentvanderweele](https://github.com/vincentvanderweele)) +- Fix multiline descriptions for the stratoscale template [\#2282](https://github.com/cloudentity/go-swagger/pull/2282) ([JoakimSoderberg](https://github.com/JoakimSoderberg)) +- Allow passing struct tags from command line [\#2281](https://github.com/cloudentity/go-swagger/pull/2281) ([vincentvanderweele](https://github.com/vincentvanderweele)) +- fix wrong pointer designation [\#2274](https://github.com/cloudentity/go-swagger/pull/2274) ([casualjim](https://github.com/casualjim)) +- Update docs for spec generation [\#2271](https://github.com/cloudentity/go-swagger/pull/2271) ([glindsell](https://github.com/glindsell)) +- Improvements for XML support [\#2265](https://github.com/cloudentity/go-swagger/pull/2265) ([nubenum](https://github.com/nubenum)) +- Add support of case-insensitive enums \(\#303\) [\#2264](https://github.com/cloudentity/go-swagger/pull/2264) ([pheepi](https://github.com/pheepi)) +- Basic support for XML model generation [\#2241](https://github.com/cloudentity/go-swagger/pull/2241) ([nubenum](https://github.com/nubenum)) diff --git a/notes/v0.25.0.md b/notes/v0.25.0.md index 7c2c7d32c..7fe542ce0 100644 --- a/notes/v0.25.0.md +++ b/notes/v0.25.0.md @@ -1,62 +1,62 @@ # Changelog -## [v0.25.0](https://github.com/go-swagger/go-swagger/tree/v0.25.0) (2020-07-18) +## [v0.25.0](https://github.com/cloudentity/go-swagger/tree/v0.25.0) (2020-07-18) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.24.0...v0.25.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.24.0...v0.25.0) **Implemented enhancements:** -- importing struct with x-go-type generates client code which doesnt compile [\#2224](https://github.com/go-swagger/go-swagger/issues/2224) +- importing struct with x-go-type generates client code which doesnt compile [\#2224](https://github.com/cloudentity/go-swagger/issues/2224) **Fixed bugs:** -- file parameter with maxLength: not enough arguments in call to "github.com/go-openapi/errors".ExceedsMaximum [\#2342](https://github.com/go-swagger/go-swagger/issues/2342) -- Missing models during client generation [\#2306](https://github.com/go-swagger/go-swagger/issues/2306) -- Server generation with --name api produces empty strings [\#2293](https://github.com/go-swagger/go-swagger/issues/2293) -- Custom principal import is missing from generated server code [\#2283](https://github.com/go-swagger/go-swagger/issues/2283) -- "generate operation" returns "no operations were selected" [\#2280](https://github.com/go-swagger/go-swagger/issues/2280) -- "generate operation" error "the required flag `-n, --name' was not specified" [\#2279](https://github.com/go-swagger/go-swagger/issues/2279) -- Generate model may panic on some specs [\#2161](https://github.com/go-swagger/go-swagger/issues/2161) -- swagger diff --dest="${DEST}": Is not writing output to "${DEST}" [\#2103](https://github.com/go-swagger/go-swagger/issues/2103) -- Models not importing x-go-type for one of properties [\#1897](https://github.com/go-swagger/go-swagger/issues/1897) +- file parameter with maxLength: not enough arguments in call to "github.com/go-openapi/errors".ExceedsMaximum [\#2342](https://github.com/cloudentity/go-swagger/issues/2342) +- Missing models during client generation [\#2306](https://github.com/cloudentity/go-swagger/issues/2306) +- Server generation with --name api produces empty strings [\#2293](https://github.com/cloudentity/go-swagger/issues/2293) +- Custom principal import is missing from generated server code [\#2283](https://github.com/cloudentity/go-swagger/issues/2283) +- "generate operation" returns "no operations were selected" [\#2280](https://github.com/cloudentity/go-swagger/issues/2280) +- "generate operation" error "the required flag `-n, --name' was not specified" [\#2279](https://github.com/cloudentity/go-swagger/issues/2279) +- Generate model may panic on some specs [\#2161](https://github.com/cloudentity/go-swagger/issues/2161) +- swagger diff --dest="${DEST}": Is not writing output to "${DEST}" [\#2103](https://github.com/cloudentity/go-swagger/issues/2103) +- Models not importing x-go-type for one of properties [\#1897](https://github.com/cloudentity/go-swagger/issues/1897) **Closed issues:** -- Strange error while swagger generate server! [\#2358](https://github.com/go-swagger/go-swagger/issues/2358) -- generate operation does not take model package parameter [\#2355](https://github.com/go-swagger/go-swagger/issues/2355) -- Duplicate struct field generated [\#2352](https://github.com/go-swagger/go-swagger/issues/2352) -- structures for response errors [\#2351](https://github.com/go-swagger/go-swagger/issues/2351) -- swagger:meta - $ref on description [\#2349](https://github.com/go-swagger/go-swagger/issues/2349) -- Add warning to documentation for swagger:meta [\#2335](https://github.com/go-swagger/go-swagger/issues/2335) -- how to add property `in:formData` for struct's all field [\#2323](https://github.com/go-swagger/go-swagger/issues/2323) -- 0.24.0: too many arguments in call to "github.com/go-openapi/errors".Required [\#2319](https://github.com/go-swagger/go-swagger/issues/2319) -- Build fails with latest go-openapi/errors [\#2315](https://github.com/go-swagger/go-swagger/issues/2315) -- Raw request body is empty if we try get it inside handler function [\#2310](https://github.com/go-swagger/go-swagger/issues/2310) -- not yet registered swag [\#2291](https://github.com/go-swagger/go-swagger/issues/2291) +- Strange error while swagger generate server! [\#2358](https://github.com/cloudentity/go-swagger/issues/2358) +- generate operation does not take model package parameter [\#2355](https://github.com/cloudentity/go-swagger/issues/2355) +- Duplicate struct field generated [\#2352](https://github.com/cloudentity/go-swagger/issues/2352) +- structures for response errors [\#2351](https://github.com/cloudentity/go-swagger/issues/2351) +- swagger:meta - $ref on description [\#2349](https://github.com/cloudentity/go-swagger/issues/2349) +- Add warning to documentation for swagger:meta [\#2335](https://github.com/cloudentity/go-swagger/issues/2335) +- how to add property `in:formData` for struct's all field [\#2323](https://github.com/cloudentity/go-swagger/issues/2323) +- 0.24.0: too many arguments in call to "github.com/go-openapi/errors".Required [\#2319](https://github.com/cloudentity/go-swagger/issues/2319) +- Build fails with latest go-openapi/errors [\#2315](https://github.com/cloudentity/go-swagger/issues/2315) +- Raw request body is empty if we try get it inside handler function [\#2310](https://github.com/cloudentity/go-swagger/issues/2310) +- not yet registered swag [\#2291](https://github.com/cloudentity/go-swagger/issues/2291) **Merged pull requests:** -- adds swaggerui middleware as default /docs site [\#2359](https://github.com/go-swagger/go-swagger/pull/2359) ([casualjim](https://github.com/casualjim)) -- Adding ModelPackage option to generate operation [\#2356](https://github.com/go-swagger/go-swagger/pull/2356) ([rodriguise](https://github.com/rodriguise)) -- Added a way to override the different authenticator functions in [\#2354](https://github.com/go-swagger/go-swagger/pull/2354) ([ronniel1](https://github.com/ronniel1)) -- Improve client response error message when status code not recognized [\#2348](https://github.com/go-swagger/go-swagger/pull/2348) ([minitauros](https://github.com/minitauros)) -- fixed missing broken templates after the breaking change in go-openapi/errors [\#2345](https://github.com/go-swagger/go-swagger/pull/2345) ([fredbi](https://github.com/fredbi)) -- removed unused template [\#2343](https://github.com/go-swagger/go-swagger/pull/2343) ([fredbi](https://github.com/fredbi)) -- fix imports of external types, when used as dependency in properties, items, etc [\#2341](https://github.com/go-swagger/go-swagger/pull/2341) ([fredbi](https://github.com/fredbi)) -- enhanced external types: more options to x-go-type [\#2340](https://github.com/go-swagger/go-swagger/pull/2340) ([fredbi](https://github.com/fredbi)) -- fixed merging issues that caused linting/goimport failures [\#2339](https://github.com/go-swagger/go-swagger/pull/2339) ([fredbi](https://github.com/fredbi)) -- Add NOTE in swagger:meta for adhering to godoc standard [\#2338](https://github.com/go-swagger/go-swagger/pull/2338) ([AymanArif](https://github.com/AymanArif)) -- refactored generator tests for readability [\#2337](https://github.com/go-swagger/go-swagger/pull/2337) ([fredbi](https://github.com/fredbi)) -- fix edge case with panic in models because of invalid additionalProperties or AllOf schema [\#2336](https://github.com/go-swagger/go-swagger/pull/2336) ([fredbi](https://github.com/fredbi)) -- Enhanced generate model CLI: accepts definitions only specs, deprecates some options [\#2333](https://github.com/go-swagger/go-swagger/pull/2333) ([fredbi](https://github.com/fredbi)) -- Refactored CLI diff commands and associated tests [\#2332](https://github.com/go-swagger/go-swagger/pull/2332) ([fredbi](https://github.com/fredbi)) -- Fix linting again [\#2329](https://github.com/go-swagger/go-swagger/pull/2329) ([fredbi](https://github.com/fredbi)) -- more aggressive name deconflicting for inline \(anonymous\) models generated in the operations package [\#2328](https://github.com/go-swagger/go-swagger/pull/2328) ([fredbi](https://github.com/fredbi)) -- filter out empty args passed by CLI to select operations [\#2327](https://github.com/go-swagger/go-swagger/pull/2327) ([fredbi](https://github.com/fredbi)) -- re-enacted CI-based linting [\#2326](https://github.com/go-swagger/go-swagger/pull/2326) ([fredbi](https://github.com/fredbi)) -- fixed broken imports when specifying principal in external package [\#2325](https://github.com/go-swagger/go-swagger/pull/2325) ([fredbi](https://github.com/fredbi)) -- fix\(generator\): fixed generated API name when terminated with suffix "api" [\#2322](https://github.com/go-swagger/go-swagger/pull/2322) ([fredbi](https://github.com/fredbi)) -- feature: strict responders option [\#2312](https://github.com/go-swagger/go-swagger/pull/2312) ([onokonem](https://github.com/onokonem)) +- adds swaggerui middleware as default /docs site [\#2359](https://github.com/cloudentity/go-swagger/pull/2359) ([casualjim](https://github.com/casualjim)) +- Adding ModelPackage option to generate operation [\#2356](https://github.com/cloudentity/go-swagger/pull/2356) ([rodriguise](https://github.com/rodriguise)) +- Added a way to override the different authenticator functions in [\#2354](https://github.com/cloudentity/go-swagger/pull/2354) ([ronniel1](https://github.com/ronniel1)) +- Improve client response error message when status code not recognized [\#2348](https://github.com/cloudentity/go-swagger/pull/2348) ([minitauros](https://github.com/minitauros)) +- fixed missing broken templates after the breaking change in go-openapi/errors [\#2345](https://github.com/cloudentity/go-swagger/pull/2345) ([fredbi](https://github.com/fredbi)) +- removed unused template [\#2343](https://github.com/cloudentity/go-swagger/pull/2343) ([fredbi](https://github.com/fredbi)) +- fix imports of external types, when used as dependency in properties, items, etc [\#2341](https://github.com/cloudentity/go-swagger/pull/2341) ([fredbi](https://github.com/fredbi)) +- enhanced external types: more options to x-go-type [\#2340](https://github.com/cloudentity/go-swagger/pull/2340) ([fredbi](https://github.com/fredbi)) +- fixed merging issues that caused linting/goimport failures [\#2339](https://github.com/cloudentity/go-swagger/pull/2339) ([fredbi](https://github.com/fredbi)) +- Add NOTE in swagger:meta for adhering to godoc standard [\#2338](https://github.com/cloudentity/go-swagger/pull/2338) ([AymanArif](https://github.com/AymanArif)) +- refactored generator tests for readability [\#2337](https://github.com/cloudentity/go-swagger/pull/2337) ([fredbi](https://github.com/fredbi)) +- fix edge case with panic in models because of invalid additionalProperties or AllOf schema [\#2336](https://github.com/cloudentity/go-swagger/pull/2336) ([fredbi](https://github.com/fredbi)) +- Enhanced generate model CLI: accepts definitions only specs, deprecates some options [\#2333](https://github.com/cloudentity/go-swagger/pull/2333) ([fredbi](https://github.com/fredbi)) +- Refactored CLI diff commands and associated tests [\#2332](https://github.com/cloudentity/go-swagger/pull/2332) ([fredbi](https://github.com/fredbi)) +- Fix linting again [\#2329](https://github.com/cloudentity/go-swagger/pull/2329) ([fredbi](https://github.com/fredbi)) +- more aggressive name deconflicting for inline \(anonymous\) models generated in the operations package [\#2328](https://github.com/cloudentity/go-swagger/pull/2328) ([fredbi](https://github.com/fredbi)) +- filter out empty args passed by CLI to select operations [\#2327](https://github.com/cloudentity/go-swagger/pull/2327) ([fredbi](https://github.com/fredbi)) +- re-enacted CI-based linting [\#2326](https://github.com/cloudentity/go-swagger/pull/2326) ([fredbi](https://github.com/fredbi)) +- fixed broken imports when specifying principal in external package [\#2325](https://github.com/cloudentity/go-swagger/pull/2325) ([fredbi](https://github.com/fredbi)) +- fix\(generator\): fixed generated API name when terminated with suffix "api" [\#2322](https://github.com/cloudentity/go-swagger/pull/2322) ([fredbi](https://github.com/fredbi)) +- feature: strict responders option [\#2312](https://github.com/cloudentity/go-swagger/pull/2312) ([onokonem](https://github.com/onokonem)) diff --git a/notes/v0.26.0.md b/notes/v0.26.0.md index 0c8b1a13c..6f36bc71f 100644 --- a/notes/v0.26.0.md +++ b/notes/v0.26.0.md @@ -1,126 +1,126 @@ # Changelog -## [v0.26.0](https://github.com/go-swagger/go-swagger/tree/v0.26.0) (2021-01-19) +## [v0.26.0](https://github.com/cloudentity/go-swagger/tree/v0.26.0) (2021-01-19) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.25.0...v0.26.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.25.0...v0.26.0) **Implemented enhancements:** -- Generate client: example struct tag is not rendered properly [\#2445](https://github.com/go-swagger/go-swagger/issues/2445) -- model validations: support minProperties and maxProperties [\#2444](https://github.com/go-swagger/go-swagger/issues/2444) -- Option to overwrite buffer size on upload file api [\#2373](https://github.com/go-swagger/go-swagger/issues/2373) -- v0.25.0 generates incorrect imports [\#2362](https://github.com/go-swagger/go-swagger/issues/2362) -- go-swagger is generating invalid validation functions [\#2163](https://github.com/go-swagger/go-swagger/issues/2163) -- Unused variable i [\#1771](https://github.com/go-swagger/go-swagger/issues/1771) -- "swagger generate model" does nothing if no paths are defined [\#1679](https://github.com/go-swagger/go-swagger/issues/1679) -- Principal should support definition as an interface [\#1659](https://github.com/go-swagger/go-swagger/issues/1659) -- go-swagger version depends on git [\#1283](https://github.com/go-swagger/go-swagger/issues/1283) -- Improve readability of templates used for code generation [\#673](https://github.com/go-swagger/go-swagger/issues/673) -- option for case insensitivity for enum query params [\#303](https://github.com/go-swagger/go-swagger/issues/303) -- Generate markdown representation for a swagger specification [\#184](https://github.com/go-swagger/go-swagger/issues/184) +- Generate client: example struct tag is not rendered properly [\#2445](https://github.com/cloudentity/go-swagger/issues/2445) +- model validations: support minProperties and maxProperties [\#2444](https://github.com/cloudentity/go-swagger/issues/2444) +- Option to overwrite buffer size on upload file api [\#2373](https://github.com/cloudentity/go-swagger/issues/2373) +- v0.25.0 generates incorrect imports [\#2362](https://github.com/cloudentity/go-swagger/issues/2362) +- go-swagger is generating invalid validation functions [\#2163](https://github.com/cloudentity/go-swagger/issues/2163) +- Unused variable i [\#1771](https://github.com/cloudentity/go-swagger/issues/1771) +- "swagger generate model" does nothing if no paths are defined [\#1679](https://github.com/cloudentity/go-swagger/issues/1679) +- Principal should support definition as an interface [\#1659](https://github.com/cloudentity/go-swagger/issues/1659) +- go-swagger version depends on git [\#1283](https://github.com/cloudentity/go-swagger/issues/1283) +- Improve readability of templates used for code generation [\#673](https://github.com/cloudentity/go-swagger/issues/673) +- option for case insensitivity for enum query params [\#303](https://github.com/cloudentity/go-swagger/issues/303) +- Generate markdown representation for a swagger specification [\#184](https://github.com/cloudentity/go-swagger/issues/184) **Fixed bugs:** -- Optional Headers array parameters generated client code doesn't compile [\#2471](https://github.com/go-swagger/go-swagger/issues/2471) -- custom tags are not added to instances of objects when specified [\#2457](https://github.com/go-swagger/go-swagger/issues/2457) -- Go swagger can't validate all uint64 in path parameters [\#2448](https://github.com/go-swagger/go-swagger/issues/2448) -- authorizationUrl empty breaking mixin and validation [\#2430](https://github.com/go-swagger/go-swagger/issues/2430) -- swagger validate fails on responses with description field [\#2429](https://github.com/go-swagger/go-swagger/issues/2429) -- Backticks appearing in tags are not properly handled [\#2423](https://github.com/go-swagger/go-swagger/issues/2423) -- Shadowing api var in generated main.go [\#2405](https://github.com/go-swagger/go-swagger/issues/2405) -- How to define properties of an object \(that are referenced to definitions\) as required ? [\#2400](https://github.com/go-swagger/go-swagger/issues/2400) -- x-go-type for a custom type in models/ [\#2385](https://github.com/go-swagger/go-swagger/issues/2385) -- Missing required validation for property referencing string [\#2381](https://github.com/go-swagger/go-swagger/issues/2381) -- allOf is always pointer using inheritance [\#2364](https://github.com/go-swagger/go-swagger/issues/2364) -- Wrong generation for required object parameters [\#2330](https://github.com/go-swagger/go-swagger/issues/2330) -- Required, Non Nil map\[string\]interface{} [\#2300](https://github.com/go-swagger/go-swagger/issues/2300) -- Support Basic-Auth and custom HTTP Headers when loading a swagger spec [\#2263](https://github.com/go-swagger/go-swagger/issues/2263) -- API Client imports wrong operations package when regenerating [\#2242](https://github.com/go-swagger/go-swagger/issues/2242) -- nested $ref not found [\#2113](https://github.com/go-swagger/go-swagger/issues/2113) -- Default value for csv parameter \[\]interface{} instead of \[\]string [\#2096](https://github.com/go-swagger/go-swagger/issues/2096) -- Required object value without type produces broken validator [\#2081](https://github.com/go-swagger/go-swagger/issues/2081) -- Allow empty string for authorizationUrl in security definition [\#1775](https://github.com/go-swagger/go-swagger/issues/1775) -- go-swagger generate client generates wrong default formData parameter type for array of strings [\#1753](https://github.com/go-swagger/go-swagger/issues/1753) -- Client generation breaks on nested structures [\#1505](https://github.com/go-swagger/go-swagger/issues/1505) -- no consumer registered error when "Transfer-Encoding: chunked" is provided [\#1430](https://github.com/go-swagger/go-swagger/issues/1430) -- Generated Client - Panic with binary downloads [\#883](https://github.com/go-swagger/go-swagger/issues/883) -- Tips for debugging BindValidRequest\(\) errors? [\#773](https://github.com/go-swagger/go-swagger/issues/773) +- Optional Headers array parameters generated client code doesn't compile [\#2471](https://github.com/cloudentity/go-swagger/issues/2471) +- custom tags are not added to instances of objects when specified [\#2457](https://github.com/cloudentity/go-swagger/issues/2457) +- Go swagger can't validate all uint64 in path parameters [\#2448](https://github.com/cloudentity/go-swagger/issues/2448) +- authorizationUrl empty breaking mixin and validation [\#2430](https://github.com/cloudentity/go-swagger/issues/2430) +- swagger validate fails on responses with description field [\#2429](https://github.com/cloudentity/go-swagger/issues/2429) +- Backticks appearing in tags are not properly handled [\#2423](https://github.com/cloudentity/go-swagger/issues/2423) +- Shadowing api var in generated main.go [\#2405](https://github.com/cloudentity/go-swagger/issues/2405) +- How to define properties of an object \(that are referenced to definitions\) as required ? [\#2400](https://github.com/cloudentity/go-swagger/issues/2400) +- x-go-type for a custom type in models/ [\#2385](https://github.com/cloudentity/go-swagger/issues/2385) +- Missing required validation for property referencing string [\#2381](https://github.com/cloudentity/go-swagger/issues/2381) +- allOf is always pointer using inheritance [\#2364](https://github.com/cloudentity/go-swagger/issues/2364) +- Wrong generation for required object parameters [\#2330](https://github.com/cloudentity/go-swagger/issues/2330) +- Required, Non Nil map\[string\]interface{} [\#2300](https://github.com/cloudentity/go-swagger/issues/2300) +- Support Basic-Auth and custom HTTP Headers when loading a swagger spec [\#2263](https://github.com/cloudentity/go-swagger/issues/2263) +- API Client imports wrong operations package when regenerating [\#2242](https://github.com/cloudentity/go-swagger/issues/2242) +- nested $ref not found [\#2113](https://github.com/cloudentity/go-swagger/issues/2113) +- Default value for csv parameter \[\]interface{} instead of \[\]string [\#2096](https://github.com/cloudentity/go-swagger/issues/2096) +- Required object value without type produces broken validator [\#2081](https://github.com/cloudentity/go-swagger/issues/2081) +- Allow empty string for authorizationUrl in security definition [\#1775](https://github.com/cloudentity/go-swagger/issues/1775) +- go-swagger generate client generates wrong default formData parameter type for array of strings [\#1753](https://github.com/cloudentity/go-swagger/issues/1753) +- Client generation breaks on nested structures [\#1505](https://github.com/cloudentity/go-swagger/issues/1505) +- no consumer registered error when "Transfer-Encoding: chunked" is provided [\#1430](https://github.com/cloudentity/go-swagger/issues/1430) +- Generated Client - Panic with binary downloads [\#883](https://github.com/cloudentity/go-swagger/issues/883) +- Tips for debugging BindValidRequest\(\) errors? [\#773](https://github.com/cloudentity/go-swagger/issues/773) **Closed issues:** -- Missing info on how to build specific version from source [\#2474](https://github.com/go-swagger/go-swagger/issues/2474) -- x-omitempty doesn't work with a $ref'ed object [\#2473](https://github.com/go-swagger/go-swagger/issues/2473) -- Generated client doesn't detect mongodb primitive.ObjectID [\#2468](https://github.com/go-swagger/go-swagger/issues/2468) -- swagger serve openapi apidocs failed [\#2463](https://github.com/go-swagger/go-swagger/issues/2463) -- Petstore example does not work [\#2459](https://github.com/go-swagger/go-swagger/issues/2459) -- How can I merge YAML file after generation with openapi v3 YAML file [\#2437](https://github.com/go-swagger/go-swagger/issues/2437) -- Backticks in [\#2422](https://github.com/go-swagger/go-swagger/issues/2422) -- Update generation doc regarding Terms of Services [\#2421](https://github.com/go-swagger/go-swagger/issues/2421) -- No definition for aliased struct with the same name [\#2416](https://github.com/go-swagger/go-swagger/issues/2416) -- Embedded uuid field interpreted as bytearray [\#2404](https://github.com/go-swagger/go-swagger/issues/2404) -- disable try it out button [\#2402](https://github.com/go-swagger/go-swagger/issues/2402) -- How can I generate `swagger:parameters` spec using form tag from struct? [\#2399](https://github.com/go-swagger/go-swagger/issues/2399) -- Why is version always dev? [\#2395](https://github.com/go-swagger/go-swagger/issues/2395) -- Expanding schema with cyclic ref is underterministic [\#2393](https://github.com/go-swagger/go-swagger/issues/2393) -- Append cline.Text to classify error [\#2391](https://github.com/go-swagger/go-swagger/issues/2391) -- principal alias imports bug in v0.25.0 [\#2372](https://github.com/go-swagger/go-swagger/issues/2372) -- Upload of large files fails due to 32 mb limit [\#2370](https://github.com/go-swagger/go-swagger/issues/2370) -- Can't set custom PORT [\#2363](https://github.com/go-swagger/go-swagger/issues/2363) -- is latest go-openapi/errors incompatible with swagger generation? [\#2361](https://github.com/go-swagger/go-swagger/issues/2361) -- Comitting generated code to version control [\#2360](https://github.com/go-swagger/go-swagger/issues/2360) -- Is it possible to publish a new release [\#2357](https://github.com/go-swagger/go-swagger/issues/2357) -- JSON 'unknown field' error when using allOf composition [\#2350](https://github.com/go-swagger/go-swagger/issues/2350) -- Client File Upload 0 Bytes [\#1838](https://github.com/go-swagger/go-swagger/issues/1838) +- Missing info on how to build specific version from source [\#2474](https://github.com/cloudentity/go-swagger/issues/2474) +- x-omitempty doesn't work with a $ref'ed object [\#2473](https://github.com/cloudentity/go-swagger/issues/2473) +- Generated client doesn't detect mongodb primitive.ObjectID [\#2468](https://github.com/cloudentity/go-swagger/issues/2468) +- swagger serve openapi apidocs failed [\#2463](https://github.com/cloudentity/go-swagger/issues/2463) +- Petstore example does not work [\#2459](https://github.com/cloudentity/go-swagger/issues/2459) +- How can I merge YAML file after generation with openapi v3 YAML file [\#2437](https://github.com/cloudentity/go-swagger/issues/2437) +- Backticks in [\#2422](https://github.com/cloudentity/go-swagger/issues/2422) +- Update generation doc regarding Terms of Services [\#2421](https://github.com/cloudentity/go-swagger/issues/2421) +- No definition for aliased struct with the same name [\#2416](https://github.com/cloudentity/go-swagger/issues/2416) +- Embedded uuid field interpreted as bytearray [\#2404](https://github.com/cloudentity/go-swagger/issues/2404) +- disable try it out button [\#2402](https://github.com/cloudentity/go-swagger/issues/2402) +- How can I generate `swagger:parameters` spec using form tag from struct? [\#2399](https://github.com/cloudentity/go-swagger/issues/2399) +- Why is version always dev? [\#2395](https://github.com/cloudentity/go-swagger/issues/2395) +- Expanding schema with cyclic ref is underterministic [\#2393](https://github.com/cloudentity/go-swagger/issues/2393) +- Append cline.Text to classify error [\#2391](https://github.com/cloudentity/go-swagger/issues/2391) +- principal alias imports bug in v0.25.0 [\#2372](https://github.com/cloudentity/go-swagger/issues/2372) +- Upload of large files fails due to 32 mb limit [\#2370](https://github.com/cloudentity/go-swagger/issues/2370) +- Can't set custom PORT [\#2363](https://github.com/cloudentity/go-swagger/issues/2363) +- is latest go-openapi/errors incompatible with swagger generation? [\#2361](https://github.com/cloudentity/go-swagger/issues/2361) +- Comitting generated code to version control [\#2360](https://github.com/cloudentity/go-swagger/issues/2360) +- Is it possible to publish a new release [\#2357](https://github.com/cloudentity/go-swagger/issues/2357) +- JSON 'unknown field' error when using allOf composition [\#2350](https://github.com/cloudentity/go-swagger/issues/2350) +- Client File Upload 0 Bytes [\#1838](https://github.com/cloudentity/go-swagger/issues/1838) **Merged pull requests:** -- updated deps to go-openapi libraries [\#2490](https://github.com/go-swagger/go-swagger/pull/2490) ([fredbi](https://github.com/fredbi)) -- fixed indenting / comment spacing issues [\#2489](https://github.com/go-swagger/go-swagger/pull/2489) ([fredbi](https://github.com/fredbi)) -- added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm [\#2488](https://github.com/go-swagger/go-swagger/pull/2488) ([fredbi](https://github.com/fredbi)) -- added example illustrating file upload with a multipart form [\#2487](https://github.com/go-swagger/go-swagger/pull/2487) ([fredbi](https://github.com/fredbi)) -- Fix 883 [\#2486](https://github.com/go-swagger/go-swagger/pull/2486) ([fredbi](https://github.com/fredbi)) -- regenerated examples [\#2485](https://github.com/go-swagger/go-swagger/pull/2485) ([fredbi](https://github.com/fredbi)) -- fixed generated client issues for nested array parameters and response headers [\#2484](https://github.com/go-swagger/go-swagger/pull/2484) ([fredbi](https://github.com/fredbi)) -- relinted all packages [\#2481](https://github.com/go-swagger/go-swagger/pull/2481) ([fredbi](https://github.com/fredbi)) -- Removed redundant unit tests from CI [\#2480](https://github.com/go-swagger/go-swagger/pull/2480) ([fredbi](https://github.com/fredbi)) -- generate client: added support for array parameter in header [\#2478](https://github.com/go-swagger/go-swagger/pull/2478) ([fredbi](https://github.com/fredbi)) -- added support for minProperties, maxProperties validations [\#2477](https://github.com/go-swagger/go-swagger/pull/2477) ([fredbi](https://github.com/fredbi)) -- refactored validations handling in models and type resolver [\#2476](https://github.com/go-swagger/go-swagger/pull/2476) ([fredbi](https://github.com/fredbi)) -- add specific version install info [\#2475](https://github.com/go-swagger/go-swagger/pull/2475) ([blami](https://github.com/blami)) -- added markdown generator [\#2466](https://github.com/go-swagger/go-swagger/pull/2466) ([fredbi](https://github.com/fredbi)) -- Ensure enum variant name is unique [\#2464](https://github.com/go-swagger/go-swagger/pull/2464) ([mraerino](https://github.com/mraerino)) -- CLI version: added versioning from module support for go get users [\#2462](https://github.com/go-swagger/go-swagger/pull/2462) ([fredbi](https://github.com/fredbi)) -- fixed doc in petstore example [\#2461](https://github.com/go-swagger/go-swagger/pull/2461) ([fredbi](https://github.com/fredbi)) -- refactored, documented and tested tags in models [\#2460](https://github.com/go-swagger/go-swagger/pull/2460) ([fredbi](https://github.com/fredbi)) -- ensure custom tag is applied to object in generated model \(\#2457\) [\#2458](https://github.com/go-swagger/go-swagger/pull/2458) ([bobcallaway](https://github.com/bobcallaway)) -- fixed numerical validations for integer types [\#2453](https://github.com/go-swagger/go-swagger/pull/2453) ([fredbi](https://github.com/fredbi)) -- test: model tests go parallel [\#2450](https://github.com/go-swagger/go-swagger/pull/2450) ([fredbi](https://github.com/fredbi)) -- escape backticks in regex patterns [\#2449](https://github.com/go-swagger/go-swagger/pull/2449) ([casualjim](https://github.com/casualjim)) -- Generate example struct tag if example is provided [\#2447](https://github.com/go-swagger/go-swagger/pull/2447) ([sbstp](https://github.com/sbstp)) -- auth: added support for adding a principal as an interface [\#2442](https://github.com/go-swagger/go-swagger/pull/2442) ([fredbi](https://github.com/fredbi)) -- fixed generated package resolution for principal [\#2440](https://github.com/go-swagger/go-swagger/pull/2440) ([fredbi](https://github.com/fredbi)) -- Added more control over external types [\#2438](https://github.com/go-swagger/go-swagger/pull/2438) ([fredbi](https://github.com/fredbi)) -- Acknowledged codegen regression fixed [\#2435](https://github.com/go-swagger/go-swagger/pull/2435) ([fredbi](https://github.com/fredbi)) -- Fixed required aliased type [\#2434](https://github.com/go-swagger/go-swagger/pull/2434) ([fredbi](https://github.com/fredbi)) -- fixup replace clause left in go.mod [\#2433](https://github.com/go-swagger/go-swagger/pull/2433) ([fredbi](https://github.com/fredbi)) -- Updated go-openapi [\#2432](https://github.com/go-swagger/go-swagger/pull/2432) ([fredbi](https://github.com/fredbi)) -- test\(generate spec\): extra code parsing assertions for the TermsOfService annotation [\#2431](https://github.com/go-swagger/go-swagger/pull/2431) ([fredbi](https://github.com/fredbi)) -- updated go-openapi dependencies [\#2427](https://github.com/go-swagger/go-swagger/pull/2427) ([fredbi](https://github.com/fredbi)) -- added validation guards against inconsistent validations [\#2426](https://github.com/go-swagger/go-swagger/pull/2426) ([fredbi](https://github.com/fredbi)) -- Fixed missing Required validations [\#2425](https://github.com/go-swagger/go-swagger/pull/2425) ([fredbi](https://github.com/fredbi)) -- fixed server codegen package conflicts when specifying --server-package and --api-package [\#2424](https://github.com/go-swagger/go-swagger/pull/2424) ([fredbi](https://github.com/fredbi)) -- Change comment in server template: add periods at the end [\#2418](https://github.com/go-swagger/go-swagger/pull/2418) ([alexandear](https://github.com/alexandear)) -- fix codescan, and support SelectorExpr with response. [\#2414](https://github.com/go-swagger/go-swagger/pull/2414) ([j2gg0s](https://github.com/j2gg0s)) -- Fix 2391: Add more infomation to classify error [\#2392](https://github.com/go-swagger/go-swagger/pull/2392) ([tptpp](https://github.com/tptpp)) -- Fix panics and boost coverage [\#2390](https://github.com/go-swagger/go-swagger/pull/2390) ([wjase](https://github.com/wjase)) -- Pass examples to the generated models [\#2389](https://github.com/go-swagger/go-swagger/pull/2389) ([SVilgelm](https://github.com/SVilgelm)) -- doc: fix issue of displaying code [\#2377](https://github.com/go-swagger/go-swagger/pull/2377) ([meysampg](https://github.com/meysampg)) -- Added support to ignore conflicts in mixin command [\#2375](https://github.com/go-swagger/go-swagger/pull/2375) ([stijndehaes](https://github.com/stijndehaes)) -- Feature/ReadOnly-Validation Support [\#2369](https://github.com/go-swagger/go-swagger/pull/2369) ([youyuanwu](https://github.com/youyuanwu)) -- Fixed diff writing to file called stdout instead of os.StdOut [\#2367](https://github.com/go-swagger/go-swagger/pull/2367) ([wjase](https://github.com/wjase)) -- Fix VMware reference. [\#2366](https://github.com/go-swagger/go-swagger/pull/2366) ([zmb3](https://github.com/zmb3)) -- allow x-nullable hint to override allOf nullability status [\#2365](https://github.com/go-swagger/go-swagger/pull/2365) ([fredbi](https://github.com/fredbi)) -- Acknowledged fixes from go-openapi/spec updates [\#2142](https://github.com/go-swagger/go-swagger/pull/2142) ([fredbi](https://github.com/fredbi)) +- updated deps to go-openapi libraries [\#2490](https://github.com/cloudentity/go-swagger/pull/2490) ([fredbi](https://github.com/fredbi)) +- fixed indenting / comment spacing issues [\#2489](https://github.com/cloudentity/go-swagger/pull/2489) ([fredbi](https://github.com/fredbi)) +- added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm [\#2488](https://github.com/cloudentity/go-swagger/pull/2488) ([fredbi](https://github.com/fredbi)) +- added example illustrating file upload with a multipart form [\#2487](https://github.com/cloudentity/go-swagger/pull/2487) ([fredbi](https://github.com/fredbi)) +- Fix 883 [\#2486](https://github.com/cloudentity/go-swagger/pull/2486) ([fredbi](https://github.com/fredbi)) +- regenerated examples [\#2485](https://github.com/cloudentity/go-swagger/pull/2485) ([fredbi](https://github.com/fredbi)) +- fixed generated client issues for nested array parameters and response headers [\#2484](https://github.com/cloudentity/go-swagger/pull/2484) ([fredbi](https://github.com/fredbi)) +- relinted all packages [\#2481](https://github.com/cloudentity/go-swagger/pull/2481) ([fredbi](https://github.com/fredbi)) +- Removed redundant unit tests from CI [\#2480](https://github.com/cloudentity/go-swagger/pull/2480) ([fredbi](https://github.com/fredbi)) +- generate client: added support for array parameter in header [\#2478](https://github.com/cloudentity/go-swagger/pull/2478) ([fredbi](https://github.com/fredbi)) +- added support for minProperties, maxProperties validations [\#2477](https://github.com/cloudentity/go-swagger/pull/2477) ([fredbi](https://github.com/fredbi)) +- refactored validations handling in models and type resolver [\#2476](https://github.com/cloudentity/go-swagger/pull/2476) ([fredbi](https://github.com/fredbi)) +- add specific version install info [\#2475](https://github.com/cloudentity/go-swagger/pull/2475) ([blami](https://github.com/blami)) +- added markdown generator [\#2466](https://github.com/cloudentity/go-swagger/pull/2466) ([fredbi](https://github.com/fredbi)) +- Ensure enum variant name is unique [\#2464](https://github.com/cloudentity/go-swagger/pull/2464) ([mraerino](https://github.com/mraerino)) +- CLI version: added versioning from module support for go get users [\#2462](https://github.com/cloudentity/go-swagger/pull/2462) ([fredbi](https://github.com/fredbi)) +- fixed doc in petstore example [\#2461](https://github.com/cloudentity/go-swagger/pull/2461) ([fredbi](https://github.com/fredbi)) +- refactored, documented and tested tags in models [\#2460](https://github.com/cloudentity/go-swagger/pull/2460) ([fredbi](https://github.com/fredbi)) +- ensure custom tag is applied to object in generated model \(\#2457\) [\#2458](https://github.com/cloudentity/go-swagger/pull/2458) ([bobcallaway](https://github.com/bobcallaway)) +- fixed numerical validations for integer types [\#2453](https://github.com/cloudentity/go-swagger/pull/2453) ([fredbi](https://github.com/fredbi)) +- test: model tests go parallel [\#2450](https://github.com/cloudentity/go-swagger/pull/2450) ([fredbi](https://github.com/fredbi)) +- escape backticks in regex patterns [\#2449](https://github.com/cloudentity/go-swagger/pull/2449) ([casualjim](https://github.com/casualjim)) +- Generate example struct tag if example is provided [\#2447](https://github.com/cloudentity/go-swagger/pull/2447) ([sbstp](https://github.com/sbstp)) +- auth: added support for adding a principal as an interface [\#2442](https://github.com/cloudentity/go-swagger/pull/2442) ([fredbi](https://github.com/fredbi)) +- fixed generated package resolution for principal [\#2440](https://github.com/cloudentity/go-swagger/pull/2440) ([fredbi](https://github.com/fredbi)) +- Added more control over external types [\#2438](https://github.com/cloudentity/go-swagger/pull/2438) ([fredbi](https://github.com/fredbi)) +- Acknowledged codegen regression fixed [\#2435](https://github.com/cloudentity/go-swagger/pull/2435) ([fredbi](https://github.com/fredbi)) +- Fixed required aliased type [\#2434](https://github.com/cloudentity/go-swagger/pull/2434) ([fredbi](https://github.com/fredbi)) +- fixup replace clause left in go.mod [\#2433](https://github.com/cloudentity/go-swagger/pull/2433) ([fredbi](https://github.com/fredbi)) +- Updated go-openapi [\#2432](https://github.com/cloudentity/go-swagger/pull/2432) ([fredbi](https://github.com/fredbi)) +- test\(generate spec\): extra code parsing assertions for the TermsOfService annotation [\#2431](https://github.com/cloudentity/go-swagger/pull/2431) ([fredbi](https://github.com/fredbi)) +- updated go-openapi dependencies [\#2427](https://github.com/cloudentity/go-swagger/pull/2427) ([fredbi](https://github.com/fredbi)) +- added validation guards against inconsistent validations [\#2426](https://github.com/cloudentity/go-swagger/pull/2426) ([fredbi](https://github.com/fredbi)) +- Fixed missing Required validations [\#2425](https://github.com/cloudentity/go-swagger/pull/2425) ([fredbi](https://github.com/fredbi)) +- fixed server codegen package conflicts when specifying --server-package and --api-package [\#2424](https://github.com/cloudentity/go-swagger/pull/2424) ([fredbi](https://github.com/fredbi)) +- Change comment in server template: add periods at the end [\#2418](https://github.com/cloudentity/go-swagger/pull/2418) ([alexandear](https://github.com/alexandear)) +- fix codescan, and support SelectorExpr with response. [\#2414](https://github.com/cloudentity/go-swagger/pull/2414) ([j2gg0s](https://github.com/j2gg0s)) +- Fix 2391: Add more infomation to classify error [\#2392](https://github.com/cloudentity/go-swagger/pull/2392) ([tptpp](https://github.com/tptpp)) +- Fix panics and boost coverage [\#2390](https://github.com/cloudentity/go-swagger/pull/2390) ([wjase](https://github.com/wjase)) +- Pass examples to the generated models [\#2389](https://github.com/cloudentity/go-swagger/pull/2389) ([SVilgelm](https://github.com/SVilgelm)) +- doc: fix issue of displaying code [\#2377](https://github.com/cloudentity/go-swagger/pull/2377) ([meysampg](https://github.com/meysampg)) +- Added support to ignore conflicts in mixin command [\#2375](https://github.com/cloudentity/go-swagger/pull/2375) ([stijndehaes](https://github.com/stijndehaes)) +- Feature/ReadOnly-Validation Support [\#2369](https://github.com/cloudentity/go-swagger/pull/2369) ([youyuanwu](https://github.com/youyuanwu)) +- Fixed diff writing to file called stdout instead of os.StdOut [\#2367](https://github.com/cloudentity/go-swagger/pull/2367) ([wjase](https://github.com/wjase)) +- Fix VMware reference. [\#2366](https://github.com/cloudentity/go-swagger/pull/2366) ([zmb3](https://github.com/zmb3)) +- allow x-nullable hint to override allOf nullability status [\#2365](https://github.com/cloudentity/go-swagger/pull/2365) ([fredbi](https://github.com/fredbi)) +- Acknowledged fixes from go-openapi/spec updates [\#2142](https://github.com/cloudentity/go-swagger/pull/2142) ([fredbi](https://github.com/fredbi)) diff --git a/notes/v0.26.1.md b/notes/v0.26.1.md index e3bd6b431..d115cd7db 100644 --- a/notes/v0.26.1.md +++ b/notes/v0.26.1.md @@ -1,156 +1,156 @@ # Changelog -## [v0.26.1](https://github.com/go-swagger/go-swagger/tree/v0.26.1) (2021-02-05) +## [v0.26.1](https://github.com/cloudentity/go-swagger/tree/v0.26.1) (2021-02-05) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.26.0...v0.26.1) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.26.0...v0.26.1) **Implemented enhancements:** -- Can't configure content type in generated client [\#1924](https://github.com/go-swagger/go-swagger/issues/1924) +- Can't configure content type in generated client [\#1924](https://github.com/cloudentity/go-swagger/issues/1924) **Fixed bugs:** -- Generate models from official docker specification [\#2494](https://github.com/go-swagger/go-swagger/issues/2494) -- Could not resolve reference: invalid character looking for beginning of value [\#2492](https://github.com/go-swagger/go-swagger/issues/2492) +- Generate models from official docker specification [\#2494](https://github.com/cloudentity/go-swagger/issues/2494) +- Could not resolve reference: invalid character looking for beginning of value [\#2492](https://github.com/cloudentity/go-swagger/issues/2492) **Closed issues:** -- swagger:strfmt annotation incompatible with slice type [\#2505](https://github.com/go-swagger/go-swagger/issues/2505) -- 0.26.0 - Enum constants are not unique for some special characters [\#2501](https://github.com/go-swagger/go-swagger/issues/2501) -- upgrade to version 0.26.0 introduces error `undefined: validate.WithOperationRequest` in generated code [\#2498](https://github.com/go-swagger/go-swagger/issues/2498) -- Unable to generate specification for "hello world" [\#2101](https://github.com/go-swagger/go-swagger/issues/2101) +- swagger:strfmt annotation incompatible with slice type [\#2505](https://github.com/cloudentity/go-swagger/issues/2505) +- 0.26.0 - Enum constants are not unique for some special characters [\#2501](https://github.com/cloudentity/go-swagger/issues/2501) +- upgrade to version 0.26.0 introduces error `undefined: validate.WithOperationRequest` in generated code [\#2498](https://github.com/cloudentity/go-swagger/issues/2498) +- Unable to generate specification for "hello world" [\#2101](https://github.com/cloudentity/go-swagger/issues/2101) **Merged pull requests:** -- added sudo to debian install [\#2509](https://github.com/go-swagger/go-swagger/pull/2509) ([somersbmatthews](https://github.com/somersbmatthews)) -- Update-ReadOnly-Documentation [\#2508](https://github.com/go-swagger/go-swagger/pull/2508) ([youyuanwu](https://github.com/youyuanwu)) -- add client option to client template. [\#2507](https://github.com/go-swagger/go-swagger/pull/2507) ([gmidorii](https://github.com/gmidorii)) -- Fix input swagger file docs for spec generation [\#2504](https://github.com/go-swagger/go-swagger/pull/2504) ([oliverbenns](https://github.com/oliverbenns)) -- Generator: Handle special characters \*, /, and = [\#2502](https://github.com/go-swagger/go-swagger/pull/2502) ([armsnyder](https://github.com/armsnyder)) -- fixed map elements which are arrays should never be rendered with a pointer [\#2497](https://github.com/go-swagger/go-swagger/pull/2497) ([fredbi](https://github.com/fredbi)) -- updated go-openapi/spec and go-openapi/loads [\#2496](https://github.com/go-swagger/go-swagger/pull/2496) ([fredbi](https://github.com/fredbi)) -- fix: use single quotes for pwd in alias [\#2495](https://github.com/go-swagger/go-swagger/pull/2495) ([jadwahab](https://github.com/jadwahab)) +- added sudo to debian install [\#2509](https://github.com/cloudentity/go-swagger/pull/2509) ([somersbmatthews](https://github.com/somersbmatthews)) +- Update-ReadOnly-Documentation [\#2508](https://github.com/cloudentity/go-swagger/pull/2508) ([youyuanwu](https://github.com/youyuanwu)) +- add client option to client template. [\#2507](https://github.com/cloudentity/go-swagger/pull/2507) ([gmidorii](https://github.com/gmidorii)) +- Fix input swagger file docs for spec generation [\#2504](https://github.com/cloudentity/go-swagger/pull/2504) ([oliverbenns](https://github.com/oliverbenns)) +- Generator: Handle special characters \*, /, and = [\#2502](https://github.com/cloudentity/go-swagger/pull/2502) ([armsnyder](https://github.com/armsnyder)) +- fixed map elements which are arrays should never be rendered with a pointer [\#2497](https://github.com/cloudentity/go-swagger/pull/2497) ([fredbi](https://github.com/fredbi)) +- updated go-openapi/spec and go-openapi/loads [\#2496](https://github.com/cloudentity/go-swagger/pull/2496) ([fredbi](https://github.com/fredbi)) +- fix: use single quotes for pwd in alias [\#2495](https://github.com/cloudentity/go-swagger/pull/2495) ([jadwahab](https://github.com/jadwahab)) -## [v0.26.0](https://github.com/go-swagger/go-swagger/tree/v0.26.0) (2021-01-19) +## [v0.26.0](https://github.com/cloudentity/go-swagger/tree/v0.26.0) (2021-01-19) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.25.0...v0.26.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.25.0...v0.26.0) **Implemented enhancements:** -- Generate client: example struct tag is not rendered properly [\#2445](https://github.com/go-swagger/go-swagger/issues/2445) -- model validations: support minProperties and maxProperties [\#2444](https://github.com/go-swagger/go-swagger/issues/2444) -- Option to overwrite buffer size on upload file api [\#2373](https://github.com/go-swagger/go-swagger/issues/2373) -- v0.25.0 generates incorrect imports [\#2362](https://github.com/go-swagger/go-swagger/issues/2362) -- go-swagger is generating invalid validation functions [\#2163](https://github.com/go-swagger/go-swagger/issues/2163) -- Unused variable i [\#1771](https://github.com/go-swagger/go-swagger/issues/1771) -- "swagger generate model" does nothing if no paths are defined [\#1679](https://github.com/go-swagger/go-swagger/issues/1679) -- Principal should support definition as an interface [\#1659](https://github.com/go-swagger/go-swagger/issues/1659) -- go-swagger version depends on git [\#1283](https://github.com/go-swagger/go-swagger/issues/1283) -- Improve readability of templates used for code generation [\#673](https://github.com/go-swagger/go-swagger/issues/673) -- option for case insensitivity for enum query params [\#303](https://github.com/go-swagger/go-swagger/issues/303) -- Generate markdown representation for a swagger specification [\#184](https://github.com/go-swagger/go-swagger/issues/184) +- Generate client: example struct tag is not rendered properly [\#2445](https://github.com/cloudentity/go-swagger/issues/2445) +- model validations: support minProperties and maxProperties [\#2444](https://github.com/cloudentity/go-swagger/issues/2444) +- Option to overwrite buffer size on upload file api [\#2373](https://github.com/cloudentity/go-swagger/issues/2373) +- v0.25.0 generates incorrect imports [\#2362](https://github.com/cloudentity/go-swagger/issues/2362) +- go-swagger is generating invalid validation functions [\#2163](https://github.com/cloudentity/go-swagger/issues/2163) +- Unused variable i [\#1771](https://github.com/cloudentity/go-swagger/issues/1771) +- "swagger generate model" does nothing if no paths are defined [\#1679](https://github.com/cloudentity/go-swagger/issues/1679) +- Principal should support definition as an interface [\#1659](https://github.com/cloudentity/go-swagger/issues/1659) +- go-swagger version depends on git [\#1283](https://github.com/cloudentity/go-swagger/issues/1283) +- Improve readability of templates used for code generation [\#673](https://github.com/cloudentity/go-swagger/issues/673) +- option for case insensitivity for enum query params [\#303](https://github.com/cloudentity/go-swagger/issues/303) +- Generate markdown representation for a swagger specification [\#184](https://github.com/cloudentity/go-swagger/issues/184) **Fixed bugs:** -- Optional Headers array parameters generated client code doesn't compile [\#2471](https://github.com/go-swagger/go-swagger/issues/2471) -- custom tags are not added to instances of objects when specified [\#2457](https://github.com/go-swagger/go-swagger/issues/2457) -- Go swagger can't validate all uint64 in path parameters [\#2448](https://github.com/go-swagger/go-swagger/issues/2448) -- authorizationUrl empty breaking mixin and validation [\#2430](https://github.com/go-swagger/go-swagger/issues/2430) -- swagger validate fails on responses with description field [\#2429](https://github.com/go-swagger/go-swagger/issues/2429) -- Backticks appearing in tags are not properly handled [\#2423](https://github.com/go-swagger/go-swagger/issues/2423) -- Shadowing api var in generated main.go [\#2405](https://github.com/go-swagger/go-swagger/issues/2405) -- How to define properties of an object \(that are referenced to definitions\) as required ? [\#2400](https://github.com/go-swagger/go-swagger/issues/2400) -- x-go-type for a custom type in models/ [\#2385](https://github.com/go-swagger/go-swagger/issues/2385) -- Missing required validation for property referencing string [\#2381](https://github.com/go-swagger/go-swagger/issues/2381) -- allOf is always pointer using inheritance [\#2364](https://github.com/go-swagger/go-swagger/issues/2364) -- Wrong generation for required object parameters [\#2330](https://github.com/go-swagger/go-swagger/issues/2330) -- Required, Non Nil map\[string\]interface{} [\#2300](https://github.com/go-swagger/go-swagger/issues/2300) -- Support Basic-Auth and custom HTTP Headers when loading a swagger spec [\#2263](https://github.com/go-swagger/go-swagger/issues/2263) -- nested $ref not found [\#2113](https://github.com/go-swagger/go-swagger/issues/2113) -- Default value for csv parameter \[\]interface{} instead of \[\]string [\#2096](https://github.com/go-swagger/go-swagger/issues/2096) -- Required object value without type produces broken validator [\#2081](https://github.com/go-swagger/go-swagger/issues/2081) -- Allow empty string for authorizationUrl in security definition [\#1775](https://github.com/go-swagger/go-swagger/issues/1775) -- go-swagger generate client generates wrong default formData parameter type for array of strings [\#1753](https://github.com/go-swagger/go-swagger/issues/1753) -- Client generation breaks on nested structures [\#1505](https://github.com/go-swagger/go-swagger/issues/1505) -- no consumer registered error when "Transfer-Encoding: chunked" is provided [\#1430](https://github.com/go-swagger/go-swagger/issues/1430) -- Generated Client - Panic with binary downloads [\#883](https://github.com/go-swagger/go-swagger/issues/883) -- Tips for debugging BindValidRequest\(\) errors? [\#773](https://github.com/go-swagger/go-swagger/issues/773) +- Optional Headers array parameters generated client code doesn't compile [\#2471](https://github.com/cloudentity/go-swagger/issues/2471) +- custom tags are not added to instances of objects when specified [\#2457](https://github.com/cloudentity/go-swagger/issues/2457) +- Go swagger can't validate all uint64 in path parameters [\#2448](https://github.com/cloudentity/go-swagger/issues/2448) +- authorizationUrl empty breaking mixin and validation [\#2430](https://github.com/cloudentity/go-swagger/issues/2430) +- swagger validate fails on responses with description field [\#2429](https://github.com/cloudentity/go-swagger/issues/2429) +- Backticks appearing in tags are not properly handled [\#2423](https://github.com/cloudentity/go-swagger/issues/2423) +- Shadowing api var in generated main.go [\#2405](https://github.com/cloudentity/go-swagger/issues/2405) +- How to define properties of an object \(that are referenced to definitions\) as required ? [\#2400](https://github.com/cloudentity/go-swagger/issues/2400) +- x-go-type for a custom type in models/ [\#2385](https://github.com/cloudentity/go-swagger/issues/2385) +- Missing required validation for property referencing string [\#2381](https://github.com/cloudentity/go-swagger/issues/2381) +- allOf is always pointer using inheritance [\#2364](https://github.com/cloudentity/go-swagger/issues/2364) +- Wrong generation for required object parameters [\#2330](https://github.com/cloudentity/go-swagger/issues/2330) +- Required, Non Nil map\[string\]interface{} [\#2300](https://github.com/cloudentity/go-swagger/issues/2300) +- Support Basic-Auth and custom HTTP Headers when loading a swagger spec [\#2263](https://github.com/cloudentity/go-swagger/issues/2263) +- nested $ref not found [\#2113](https://github.com/cloudentity/go-swagger/issues/2113) +- Default value for csv parameter \[\]interface{} instead of \[\]string [\#2096](https://github.com/cloudentity/go-swagger/issues/2096) +- Required object value without type produces broken validator [\#2081](https://github.com/cloudentity/go-swagger/issues/2081) +- Allow empty string for authorizationUrl in security definition [\#1775](https://github.com/cloudentity/go-swagger/issues/1775) +- go-swagger generate client generates wrong default formData parameter type for array of strings [\#1753](https://github.com/cloudentity/go-swagger/issues/1753) +- Client generation breaks on nested structures [\#1505](https://github.com/cloudentity/go-swagger/issues/1505) +- no consumer registered error when "Transfer-Encoding: chunked" is provided [\#1430](https://github.com/cloudentity/go-swagger/issues/1430) +- Generated Client - Panic with binary downloads [\#883](https://github.com/cloudentity/go-swagger/issues/883) +- Tips for debugging BindValidRequest\(\) errors? [\#773](https://github.com/cloudentity/go-swagger/issues/773) **Closed issues:** -- Missing info on how to build specific version from source [\#2474](https://github.com/go-swagger/go-swagger/issues/2474) -- x-omitempty doesn't work with a $ref'ed object [\#2473](https://github.com/go-swagger/go-swagger/issues/2473) -- Generated client doesn't detect mongodb primitive.ObjectID [\#2468](https://github.com/go-swagger/go-swagger/issues/2468) -- swagger serve openapi apidocs failed [\#2463](https://github.com/go-swagger/go-swagger/issues/2463) -- Petstore example does not work [\#2459](https://github.com/go-swagger/go-swagger/issues/2459) -- How can I merge YAML file after generation with openapi v3 YAML file [\#2437](https://github.com/go-swagger/go-swagger/issues/2437) -- Backticks in [\#2422](https://github.com/go-swagger/go-swagger/issues/2422) -- Update generation doc regarding Terms of Services [\#2421](https://github.com/go-swagger/go-swagger/issues/2421) -- No definition for aliased struct with the same name [\#2416](https://github.com/go-swagger/go-swagger/issues/2416) -- Embedded uuid field interpreted as bytearray [\#2404](https://github.com/go-swagger/go-swagger/issues/2404) -- disable try it out button [\#2402](https://github.com/go-swagger/go-swagger/issues/2402) -- How can I generate `swagger:parameters` spec using form tag from struct? [\#2399](https://github.com/go-swagger/go-swagger/issues/2399) -- Why is version always dev? [\#2395](https://github.com/go-swagger/go-swagger/issues/2395) -- Expanding schema with cyclic ref is underterministic [\#2393](https://github.com/go-swagger/go-swagger/issues/2393) -- Append cline.Text to classify error [\#2391](https://github.com/go-swagger/go-swagger/issues/2391) -- principal alias imports bug in v0.25.0 [\#2372](https://github.com/go-swagger/go-swagger/issues/2372) -- Upload of large files fails due to 32 mb limit [\#2370](https://github.com/go-swagger/go-swagger/issues/2370) -- Can't set custom PORT [\#2363](https://github.com/go-swagger/go-swagger/issues/2363) -- is latest go-openapi/errors incompatible with swagger generation? [\#2361](https://github.com/go-swagger/go-swagger/issues/2361) -- Comitting generated code to version control [\#2360](https://github.com/go-swagger/go-swagger/issues/2360) -- Is it possible to publish a new release [\#2357](https://github.com/go-swagger/go-swagger/issues/2357) -- JSON 'unknown field' error when using allOf composition [\#2350](https://github.com/go-swagger/go-swagger/issues/2350) -- Client File Upload 0 Bytes [\#1838](https://github.com/go-swagger/go-swagger/issues/1838) +- Missing info on how to build specific version from source [\#2474](https://github.com/cloudentity/go-swagger/issues/2474) +- x-omitempty doesn't work with a $ref'ed object [\#2473](https://github.com/cloudentity/go-swagger/issues/2473) +- Generated client doesn't detect mongodb primitive.ObjectID [\#2468](https://github.com/cloudentity/go-swagger/issues/2468) +- swagger serve openapi apidocs failed [\#2463](https://github.com/cloudentity/go-swagger/issues/2463) +- Petstore example does not work [\#2459](https://github.com/cloudentity/go-swagger/issues/2459) +- How can I merge YAML file after generation with openapi v3 YAML file [\#2437](https://github.com/cloudentity/go-swagger/issues/2437) +- Backticks in [\#2422](https://github.com/cloudentity/go-swagger/issues/2422) +- Update generation doc regarding Terms of Services [\#2421](https://github.com/cloudentity/go-swagger/issues/2421) +- No definition for aliased struct with the same name [\#2416](https://github.com/cloudentity/go-swagger/issues/2416) +- Embedded uuid field interpreted as bytearray [\#2404](https://github.com/cloudentity/go-swagger/issues/2404) +- disable try it out button [\#2402](https://github.com/cloudentity/go-swagger/issues/2402) +- How can I generate `swagger:parameters` spec using form tag from struct? [\#2399](https://github.com/cloudentity/go-swagger/issues/2399) +- Why is version always dev? [\#2395](https://github.com/cloudentity/go-swagger/issues/2395) +- Expanding schema with cyclic ref is underterministic [\#2393](https://github.com/cloudentity/go-swagger/issues/2393) +- Append cline.Text to classify error [\#2391](https://github.com/cloudentity/go-swagger/issues/2391) +- principal alias imports bug in v0.25.0 [\#2372](https://github.com/cloudentity/go-swagger/issues/2372) +- Upload of large files fails due to 32 mb limit [\#2370](https://github.com/cloudentity/go-swagger/issues/2370) +- Can't set custom PORT [\#2363](https://github.com/cloudentity/go-swagger/issues/2363) +- is latest go-openapi/errors incompatible with swagger generation? [\#2361](https://github.com/cloudentity/go-swagger/issues/2361) +- Comitting generated code to version control [\#2360](https://github.com/cloudentity/go-swagger/issues/2360) +- Is it possible to publish a new release [\#2357](https://github.com/cloudentity/go-swagger/issues/2357) +- JSON 'unknown field' error when using allOf composition [\#2350](https://github.com/cloudentity/go-swagger/issues/2350) +- Client File Upload 0 Bytes [\#1838](https://github.com/cloudentity/go-swagger/issues/1838) **Merged pull requests:** -- updated deps to go-openapi libraries [\#2490](https://github.com/go-swagger/go-swagger/pull/2490) ([fredbi](https://github.com/fredbi)) -- fixed indenting / comment spacing issues [\#2489](https://github.com/go-swagger/go-swagger/pull/2489) ([fredbi](https://github.com/fredbi)) -- added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm [\#2488](https://github.com/go-swagger/go-swagger/pull/2488) ([fredbi](https://github.com/fredbi)) -- added example illustrating file upload with a multipart form [\#2487](https://github.com/go-swagger/go-swagger/pull/2487) ([fredbi](https://github.com/fredbi)) -- Fix 883 [\#2486](https://github.com/go-swagger/go-swagger/pull/2486) ([fredbi](https://github.com/fredbi)) -- regenerated examples [\#2485](https://github.com/go-swagger/go-swagger/pull/2485) ([fredbi](https://github.com/fredbi)) -- fixed generated client issues for nested array parameters and response headers [\#2484](https://github.com/go-swagger/go-swagger/pull/2484) ([fredbi](https://github.com/fredbi)) -- relinted all packages [\#2481](https://github.com/go-swagger/go-swagger/pull/2481) ([fredbi](https://github.com/fredbi)) -- Removed redundant unit tests from CI [\#2480](https://github.com/go-swagger/go-swagger/pull/2480) ([fredbi](https://github.com/fredbi)) -- generate client: added support for array parameter in header [\#2478](https://github.com/go-swagger/go-swagger/pull/2478) ([fredbi](https://github.com/fredbi)) -- added support for minProperties, maxProperties validations [\#2477](https://github.com/go-swagger/go-swagger/pull/2477) ([fredbi](https://github.com/fredbi)) -- refactored validations handling in models and type resolver [\#2476](https://github.com/go-swagger/go-swagger/pull/2476) ([fredbi](https://github.com/fredbi)) -- add specific version install info [\#2475](https://github.com/go-swagger/go-swagger/pull/2475) ([blami](https://github.com/blami)) -- added markdown generator [\#2466](https://github.com/go-swagger/go-swagger/pull/2466) ([fredbi](https://github.com/fredbi)) -- Ensure enum variant name is unique [\#2464](https://github.com/go-swagger/go-swagger/pull/2464) ([mraerino](https://github.com/mraerino)) -- CLI version: added versioning from module support for go get users [\#2462](https://github.com/go-swagger/go-swagger/pull/2462) ([fredbi](https://github.com/fredbi)) -- fixed doc in petstore example [\#2461](https://github.com/go-swagger/go-swagger/pull/2461) ([fredbi](https://github.com/fredbi)) -- refactored, documented and tested tags in models [\#2460](https://github.com/go-swagger/go-swagger/pull/2460) ([fredbi](https://github.com/fredbi)) -- ensure custom tag is applied to object in generated model \(\#2457\) [\#2458](https://github.com/go-swagger/go-swagger/pull/2458) ([bobcallaway](https://github.com/bobcallaway)) -- fixed numerical validations for integer types [\#2453](https://github.com/go-swagger/go-swagger/pull/2453) ([fredbi](https://github.com/fredbi)) -- test: model tests go parallel [\#2450](https://github.com/go-swagger/go-swagger/pull/2450) ([fredbi](https://github.com/fredbi)) -- escape backticks in regex patterns [\#2449](https://github.com/go-swagger/go-swagger/pull/2449) ([casualjim](https://github.com/casualjim)) -- Generate example struct tag if example is provided [\#2447](https://github.com/go-swagger/go-swagger/pull/2447) ([sbstp](https://github.com/sbstp)) -- auth: added support for adding a principal as an interface [\#2442](https://github.com/go-swagger/go-swagger/pull/2442) ([fredbi](https://github.com/fredbi)) -- fixed generated package resolution for principal [\#2440](https://github.com/go-swagger/go-swagger/pull/2440) ([fredbi](https://github.com/fredbi)) -- Added more control over external types [\#2438](https://github.com/go-swagger/go-swagger/pull/2438) ([fredbi](https://github.com/fredbi)) -- Acknowledged codegen regression fixed [\#2435](https://github.com/go-swagger/go-swagger/pull/2435) ([fredbi](https://github.com/fredbi)) -- Fixed required aliased type [\#2434](https://github.com/go-swagger/go-swagger/pull/2434) ([fredbi](https://github.com/fredbi)) -- fixup replace clause left in go.mod [\#2433](https://github.com/go-swagger/go-swagger/pull/2433) ([fredbi](https://github.com/fredbi)) -- Updated go-openapi [\#2432](https://github.com/go-swagger/go-swagger/pull/2432) ([fredbi](https://github.com/fredbi)) -- test\(generate spec\): extra code parsing assertions for the TermsOfService annotation [\#2431](https://github.com/go-swagger/go-swagger/pull/2431) ([fredbi](https://github.com/fredbi)) -- updated go-openapi dependencies [\#2427](https://github.com/go-swagger/go-swagger/pull/2427) ([fredbi](https://github.com/fredbi)) -- added validation guards against inconsistent validations [\#2426](https://github.com/go-swagger/go-swagger/pull/2426) ([fredbi](https://github.com/fredbi)) -- Fixed missing Required validations [\#2425](https://github.com/go-swagger/go-swagger/pull/2425) ([fredbi](https://github.com/fredbi)) -- fixed server codegen package conflicts when specifying --server-package and --api-package [\#2424](https://github.com/go-swagger/go-swagger/pull/2424) ([fredbi](https://github.com/fredbi)) -- Change comment in server template: add periods at the end [\#2418](https://github.com/go-swagger/go-swagger/pull/2418) ([alexandear](https://github.com/alexandear)) -- fix codescan, and support SelectorExpr with response. [\#2414](https://github.com/go-swagger/go-swagger/pull/2414) ([j2gg0s](https://github.com/j2gg0s)) -- Fix 2391: Add more infomation to classify error [\#2392](https://github.com/go-swagger/go-swagger/pull/2392) ([tptpp](https://github.com/tptpp)) -- Fix panics and boost coverage [\#2390](https://github.com/go-swagger/go-swagger/pull/2390) ([wjase](https://github.com/wjase)) -- Pass examples to the generated models [\#2389](https://github.com/go-swagger/go-swagger/pull/2389) ([SVilgelm](https://github.com/SVilgelm)) -- doc: fix issue of displaying code [\#2377](https://github.com/go-swagger/go-swagger/pull/2377) ([meysampg](https://github.com/meysampg)) -- Added support to ignore conflicts in mixin command [\#2375](https://github.com/go-swagger/go-swagger/pull/2375) ([stijndehaes](https://github.com/stijndehaes)) -- Feature/ReadOnly-Validation Support [\#2369](https://github.com/go-swagger/go-swagger/pull/2369) ([youyuanwu](https://github.com/youyuanwu)) -- Fixed diff writing to file called stdout instead of os.StdOut [\#2367](https://github.com/go-swagger/go-swagger/pull/2367) ([wjase](https://github.com/wjase)) -- Fix VMware reference. [\#2366](https://github.com/go-swagger/go-swagger/pull/2366) ([zmb3](https://github.com/zmb3)) -- allow x-nullable hint to override allOf nullability status [\#2365](https://github.com/go-swagger/go-swagger/pull/2365) ([fredbi](https://github.com/fredbi)) -- Acknowledged fixes from go-openapi/spec updates [\#2142](https://github.com/go-swagger/go-swagger/pull/2142) ([fredbi](https://github.com/fredbi)) +- updated deps to go-openapi libraries [\#2490](https://github.com/cloudentity/go-swagger/pull/2490) ([fredbi](https://github.com/fredbi)) +- fixed indenting / comment spacing issues [\#2489](https://github.com/cloudentity/go-swagger/pull/2489) ([fredbi](https://github.com/fredbi)) +- added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm [\#2488](https://github.com/cloudentity/go-swagger/pull/2488) ([fredbi](https://github.com/fredbi)) +- added example illustrating file upload with a multipart form [\#2487](https://github.com/cloudentity/go-swagger/pull/2487) ([fredbi](https://github.com/fredbi)) +- Fix 883 [\#2486](https://github.com/cloudentity/go-swagger/pull/2486) ([fredbi](https://github.com/fredbi)) +- regenerated examples [\#2485](https://github.com/cloudentity/go-swagger/pull/2485) ([fredbi](https://github.com/fredbi)) +- fixed generated client issues for nested array parameters and response headers [\#2484](https://github.com/cloudentity/go-swagger/pull/2484) ([fredbi](https://github.com/fredbi)) +- relinted all packages [\#2481](https://github.com/cloudentity/go-swagger/pull/2481) ([fredbi](https://github.com/fredbi)) +- Removed redundant unit tests from CI [\#2480](https://github.com/cloudentity/go-swagger/pull/2480) ([fredbi](https://github.com/fredbi)) +- generate client: added support for array parameter in header [\#2478](https://github.com/cloudentity/go-swagger/pull/2478) ([fredbi](https://github.com/fredbi)) +- added support for minProperties, maxProperties validations [\#2477](https://github.com/cloudentity/go-swagger/pull/2477) ([fredbi](https://github.com/fredbi)) +- refactored validations handling in models and type resolver [\#2476](https://github.com/cloudentity/go-swagger/pull/2476) ([fredbi](https://github.com/fredbi)) +- add specific version install info [\#2475](https://github.com/cloudentity/go-swagger/pull/2475) ([blami](https://github.com/blami)) +- added markdown generator [\#2466](https://github.com/cloudentity/go-swagger/pull/2466) ([fredbi](https://github.com/fredbi)) +- Ensure enum variant name is unique [\#2464](https://github.com/cloudentity/go-swagger/pull/2464) ([mraerino](https://github.com/mraerino)) +- CLI version: added versioning from module support for go get users [\#2462](https://github.com/cloudentity/go-swagger/pull/2462) ([fredbi](https://github.com/fredbi)) +- fixed doc in petstore example [\#2461](https://github.com/cloudentity/go-swagger/pull/2461) ([fredbi](https://github.com/fredbi)) +- refactored, documented and tested tags in models [\#2460](https://github.com/cloudentity/go-swagger/pull/2460) ([fredbi](https://github.com/fredbi)) +- ensure custom tag is applied to object in generated model \(\#2457\) [\#2458](https://github.com/cloudentity/go-swagger/pull/2458) ([bobcallaway](https://github.com/bobcallaway)) +- fixed numerical validations for integer types [\#2453](https://github.com/cloudentity/go-swagger/pull/2453) ([fredbi](https://github.com/fredbi)) +- test: model tests go parallel [\#2450](https://github.com/cloudentity/go-swagger/pull/2450) ([fredbi](https://github.com/fredbi)) +- escape backticks in regex patterns [\#2449](https://github.com/cloudentity/go-swagger/pull/2449) ([casualjim](https://github.com/casualjim)) +- Generate example struct tag if example is provided [\#2447](https://github.com/cloudentity/go-swagger/pull/2447) ([sbstp](https://github.com/sbstp)) +- auth: added support for adding a principal as an interface [\#2442](https://github.com/cloudentity/go-swagger/pull/2442) ([fredbi](https://github.com/fredbi)) +- fixed generated package resolution for principal [\#2440](https://github.com/cloudentity/go-swagger/pull/2440) ([fredbi](https://github.com/fredbi)) +- Added more control over external types [\#2438](https://github.com/cloudentity/go-swagger/pull/2438) ([fredbi](https://github.com/fredbi)) +- Acknowledged codegen regression fixed [\#2435](https://github.com/cloudentity/go-swagger/pull/2435) ([fredbi](https://github.com/fredbi)) +- Fixed required aliased type [\#2434](https://github.com/cloudentity/go-swagger/pull/2434) ([fredbi](https://github.com/fredbi)) +- fixup replace clause left in go.mod [\#2433](https://github.com/cloudentity/go-swagger/pull/2433) ([fredbi](https://github.com/fredbi)) +- Updated go-openapi [\#2432](https://github.com/cloudentity/go-swagger/pull/2432) ([fredbi](https://github.com/fredbi)) +- test\(generate spec\): extra code parsing assertions for the TermsOfService annotation [\#2431](https://github.com/cloudentity/go-swagger/pull/2431) ([fredbi](https://github.com/fredbi)) +- updated go-openapi dependencies [\#2427](https://github.com/cloudentity/go-swagger/pull/2427) ([fredbi](https://github.com/fredbi)) +- added validation guards against inconsistent validations [\#2426](https://github.com/cloudentity/go-swagger/pull/2426) ([fredbi](https://github.com/fredbi)) +- Fixed missing Required validations [\#2425](https://github.com/cloudentity/go-swagger/pull/2425) ([fredbi](https://github.com/fredbi)) +- fixed server codegen package conflicts when specifying --server-package and --api-package [\#2424](https://github.com/cloudentity/go-swagger/pull/2424) ([fredbi](https://github.com/fredbi)) +- Change comment in server template: add periods at the end [\#2418](https://github.com/cloudentity/go-swagger/pull/2418) ([alexandear](https://github.com/alexandear)) +- fix codescan, and support SelectorExpr with response. [\#2414](https://github.com/cloudentity/go-swagger/pull/2414) ([j2gg0s](https://github.com/j2gg0s)) +- Fix 2391: Add more infomation to classify error [\#2392](https://github.com/cloudentity/go-swagger/pull/2392) ([tptpp](https://github.com/tptpp)) +- Fix panics and boost coverage [\#2390](https://github.com/cloudentity/go-swagger/pull/2390) ([wjase](https://github.com/wjase)) +- Pass examples to the generated models [\#2389](https://github.com/cloudentity/go-swagger/pull/2389) ([SVilgelm](https://github.com/SVilgelm)) +- doc: fix issue of displaying code [\#2377](https://github.com/cloudentity/go-swagger/pull/2377) ([meysampg](https://github.com/meysampg)) +- Added support to ignore conflicts in mixin command [\#2375](https://github.com/cloudentity/go-swagger/pull/2375) ([stijndehaes](https://github.com/stijndehaes)) +- Feature/ReadOnly-Validation Support [\#2369](https://github.com/cloudentity/go-swagger/pull/2369) ([youyuanwu](https://github.com/youyuanwu)) +- Fixed diff writing to file called stdout instead of os.StdOut [\#2367](https://github.com/cloudentity/go-swagger/pull/2367) ([wjase](https://github.com/wjase)) +- Fix VMware reference. [\#2366](https://github.com/cloudentity/go-swagger/pull/2366) ([zmb3](https://github.com/zmb3)) +- allow x-nullable hint to override allOf nullability status [\#2365](https://github.com/cloudentity/go-swagger/pull/2365) ([fredbi](https://github.com/fredbi)) +- Acknowledged fixes from go-openapi/spec updates [\#2142](https://github.com/cloudentity/go-swagger/pull/2142) ([fredbi](https://github.com/fredbi)) diff --git a/notes/v0.27.0.md b/notes/v0.27.0.md index 4fd8d544d..10d782aa9 100644 --- a/notes/v0.27.0.md +++ b/notes/v0.27.0.md @@ -1,48 +1,48 @@ # Changelog -## [v0.27.0](https://github.com/go-swagger/go-swagger/tree/v0.27.0) (2021-03-31) +## [v0.27.0](https://github.com/cloudentity/go-swagger/tree/v0.27.0) (2021-03-31) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.26.1...v0.27.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.26.1...v0.27.0) **Breaking changes:** -- Updating go-openapi breaks $ref on windows [\#2428](https://github.com/go-swagger/go-swagger/issues/2428) +- Updating go-openapi breaks $ref on windows [\#2428](https://github.com/cloudentity/go-swagger/issues/2428) **Implemented enhancements:** -- Pointer convertors for enum types are not generated. [\#2482](https://github.com/go-swagger/go-swagger/issues/2482) -- extension fields in info.contact do not propagate to embedded spec [\#2054](https://github.com/go-swagger/go-swagger/issues/2054) +- Pointer convertors for enum types are not generated. [\#2482](https://github.com/cloudentity/go-swagger/issues/2482) +- extension fields in info.contact do not propagate to embedded spec [\#2054](https://github.com/cloudentity/go-swagger/issues/2054) **Fixed bugs:** -- Client Headers in response panic [\#2544](https://github.com/go-swagger/go-swagger/issues/2544) -- Swagger expand add invalid authorizationUrl key in securityDefinitions [\#2506](https://github.com/go-swagger/go-swagger/issues/2506) +- Client Headers in response panic [\#2544](https://github.com/cloudentity/go-swagger/issues/2544) +- Swagger expand add invalid authorizationUrl key in securityDefinitions [\#2506](https://github.com/cloudentity/go-swagger/issues/2506) **Closed issues:** -- Unable to install go-swagger package [\#2555](https://github.com/go-swagger/go-swagger/issues/2555) -- Question: How can I get the raw response body without decoding? [\#2552](https://github.com/go-swagger/go-swagger/issues/2552) -- There is a typo in docs/install.md [\#2550](https://github.com/go-swagger/go-swagger/issues/2550) -- can't generate header from source code [\#2532](https://github.com/go-swagger/go-swagger/issues/2532) -- Authentication tutorial missing required Swagger spec updates [\#2530](https://github.com/go-swagger/go-swagger/issues/2530) -- Use-case for --exclude-configuration or public function SetMiddleware\(\) [\#2529](https://github.com/go-swagger/go-swagger/issues/2529) -- Documention translate [\#2526](https://github.com/go-swagger/go-swagger/issues/2526) -- Unknown command 'markdown' [\#2517](https://github.com/go-swagger/go-swagger/issues/2517) +- Unable to install go-swagger package [\#2555](https://github.com/cloudentity/go-swagger/issues/2555) +- Question: How can I get the raw response body without decoding? [\#2552](https://github.com/cloudentity/go-swagger/issues/2552) +- There is a typo in docs/install.md [\#2550](https://github.com/cloudentity/go-swagger/issues/2550) +- can't generate header from source code [\#2532](https://github.com/cloudentity/go-swagger/issues/2532) +- Authentication tutorial missing required Swagger spec updates [\#2530](https://github.com/cloudentity/go-swagger/issues/2530) +- Use-case for --exclude-configuration or public function SetMiddleware\(\) [\#2529](https://github.com/cloudentity/go-swagger/issues/2529) +- Documention translate [\#2526](https://github.com/cloudentity/go-swagger/issues/2526) +- Unknown command 'markdown' [\#2517](https://github.com/cloudentity/go-swagger/issues/2517) **Merged pull requests:** -- refactor CLI generate, support datetime, support multi success resp [\#2554](https://github.com/go-swagger/go-swagger/pull/2554) ([youyuanwu](https://github.com/youyuanwu)) -- \#1472 SecurityPrincipalFrom\(\) and request reference [\#2553](https://github.com/go-swagger/go-swagger/pull/2553) ([andrefsp](https://github.com/andrefsp)) -- Fix a typo in install.md [\#2551](https://github.com/go-swagger/go-swagger/pull/2551) ([masa08](https://github.com/masa08)) -- Bugfix: Client response headers panic [\#2548](https://github.com/go-swagger/go-swagger/pull/2548) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- CLI implementation \(generate command line tool\) [\#2545](https://github.com/go-swagger/go-swagger/pull/2545) ([youyuanwu](https://github.com/youyuanwu)) -- generator: introduce support for "description" struct tag [\#2542](https://github.com/go-swagger/go-swagger/pull/2542) ([redlicha](https://github.com/redlicha)) -- generator: fix initialization of empty arrays [\#2534](https://github.com/go-swagger/go-swagger/pull/2534) ([redlicha](https://github.com/redlicha)) -- Update Authentication tutorial with spec changes [\#2531](https://github.com/go-swagger/go-swagger/pull/2531) ([slawekzachcial](https://github.com/slawekzachcial)) -- enhancement: added enum pointer factory to codegen [\#2514](https://github.com/go-swagger/go-swagger/pull/2514) ([fredbi](https://github.com/fredbi)) -- windows support: updated go-openapi dependencies [\#2513](https://github.com/go-swagger/go-swagger/pull/2513) ([fredbi](https://github.com/fredbi)) -- Update install.md [\#2512](https://github.com/go-swagger/go-swagger/pull/2512) ([ashishtiwari1993](https://github.com/ashishtiwari1993)) -- Auto wire api and backend [\#2510](https://github.com/go-swagger/go-swagger/pull/2510) ([youyuanwu](https://github.com/youyuanwu)) +- refactor CLI generate, support datetime, support multi success resp [\#2554](https://github.com/cloudentity/go-swagger/pull/2554) ([youyuanwu](https://github.com/youyuanwu)) +- \#1472 SecurityPrincipalFrom\(\) and request reference [\#2553](https://github.com/cloudentity/go-swagger/pull/2553) ([andrefsp](https://github.com/andrefsp)) +- Fix a typo in install.md [\#2551](https://github.com/cloudentity/go-swagger/pull/2551) ([masa08](https://github.com/masa08)) +- Bugfix: Client response headers panic [\#2548](https://github.com/cloudentity/go-swagger/pull/2548) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- CLI implementation \(generate command line tool\) [\#2545](https://github.com/cloudentity/go-swagger/pull/2545) ([youyuanwu](https://github.com/youyuanwu)) +- generator: introduce support for "description" struct tag [\#2542](https://github.com/cloudentity/go-swagger/pull/2542) ([redlicha](https://github.com/redlicha)) +- generator: fix initialization of empty arrays [\#2534](https://github.com/cloudentity/go-swagger/pull/2534) ([redlicha](https://github.com/redlicha)) +- Update Authentication tutorial with spec changes [\#2531](https://github.com/cloudentity/go-swagger/pull/2531) ([slawekzachcial](https://github.com/slawekzachcial)) +- enhancement: added enum pointer factory to codegen [\#2514](https://github.com/cloudentity/go-swagger/pull/2514) ([fredbi](https://github.com/fredbi)) +- windows support: updated go-openapi dependencies [\#2513](https://github.com/cloudentity/go-swagger/pull/2513) ([fredbi](https://github.com/fredbi)) +- Update install.md [\#2512](https://github.com/cloudentity/go-swagger/pull/2512) ([ashishtiwari1993](https://github.com/ashishtiwari1993)) +- Auto wire api and backend [\#2510](https://github.com/cloudentity/go-swagger/pull/2510) ([youyuanwu](https://github.com/youyuanwu)) diff --git a/notes/v0.28.0.md b/notes/v0.28.0.md index b595704f0..3923280d5 100644 --- a/notes/v0.28.0.md +++ b/notes/v0.28.0.md @@ -1,56 +1,56 @@ # Changelog -## [v0.28.0](https://github.com/go-swagger/go-swagger/tree/v0.28.0) (2021-10-09) +## [v0.28.0](https://github.com/cloudentity/go-swagger/tree/v0.28.0) (2021-10-09) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.27.0...v0.28.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.27.0...v0.28.0) **Fixed bugs:** -- strfmt.bsonobjectid validation fails [\#2616](https://github.com/go-swagger/go-swagger/issues/2616) -- Creating models crash when using $ref on an array [\#2511](https://github.com/go-swagger/go-swagger/issues/2511) +- strfmt.bsonobjectid validation fails [\#2616](https://github.com/cloudentity/go-swagger/issues/2616) +- Creating models crash when using $ref on an array [\#2511](https://github.com/cloudentity/go-swagger/issues/2511) **Closed issues:** -- The CLI should return a JSON output rather than objects [\#2640](https://github.com/go-swagger/go-swagger/issues/2640) -- Log-output is not working for validate command [\#2631](https://github.com/go-swagger/go-swagger/issues/2631) -- unsupported type "invalid type" when add a new empty go file [\#2630](https://github.com/go-swagger/go-swagger/issues/2630) -- how to response different field of response struct by different routes? [\#2629](https://github.com/go-swagger/go-swagger/issues/2629) -- Using swagger:strfmt on a \[\]byte type \(UUID\) infers the type as an array of strings [\#2627](https://github.com/go-swagger/go-swagger/issues/2627) -- "github.com/go-openapi/errors".CompositeError has no field or method ValidateName [\#2623](https://github.com/go-swagger/go-swagger/issues/2623) -- undefined: validate.ReadOnly [\#2613](https://github.com/go-swagger/go-swagger/issues/2613) -- \[BUG\]gen model-package with relative path has incorrect imports from v0.25.0 [\#2608](https://github.com/go-swagger/go-swagger/issues/2608) -- Error: "source formatting on generated source "autoconfigure" failed" on server generate [\#2602](https://github.com/go-swagger/go-swagger/issues/2602) -- Error: "source formatting on generated source "autoconfigure" failed" if StrictResponders and ImplementationPackage were both set for a server generation [\#2601](https://github.com/go-swagger/go-swagger/issues/2601) -- How to change the case style \(pascal, camel\) of a struct tag [\#2600](https://github.com/go-swagger/go-swagger/issues/2600) -- 05 Method Not Allowed response instead of 400 with incorrect validation details [\#2598](https://github.com/go-swagger/go-swagger/issues/2598) -- Support nested body params for CompositeError [\#2594](https://github.com/go-swagger/go-swagger/issues/2594) -- \[apiKey\] auth by two apikey together\(AND Operation\) [\#2586](https://github.com/go-swagger/go-swagger/issues/2586) -- How to add authInfo to request with generated client [\#2584](https://github.com/go-swagger/go-swagger/issues/2584) -- Is there good to way to omit readonly key [\#2581](https://github.com/go-swagger/go-swagger/issues/2581) -- Generating Spec results in Invalid Type Error [\#2577](https://github.com/go-swagger/go-swagger/issues/2577) -- Integration with viper [\#2572](https://github.com/go-swagger/go-swagger/issues/2572) -- unsupported type "invalid type" [\#2569](https://github.com/go-swagger/go-swagger/issues/2569) -- Cannot install directly from github [\#2560](https://github.com/go-swagger/go-swagger/issues/2560) -- Generated server code with Go v1.15 and above generates deprecation warning for TLSConfig [\#2559](https://github.com/go-swagger/go-swagger/issues/2559) +- The CLI should return a JSON output rather than objects [\#2640](https://github.com/cloudentity/go-swagger/issues/2640) +- Log-output is not working for validate command [\#2631](https://github.com/cloudentity/go-swagger/issues/2631) +- unsupported type "invalid type" when add a new empty go file [\#2630](https://github.com/cloudentity/go-swagger/issues/2630) +- how to response different field of response struct by different routes? [\#2629](https://github.com/cloudentity/go-swagger/issues/2629) +- Using swagger:strfmt on a \[\]byte type \(UUID\) infers the type as an array of strings [\#2627](https://github.com/cloudentity/go-swagger/issues/2627) +- "github.com/go-openapi/errors".CompositeError has no field or method ValidateName [\#2623](https://github.com/cloudentity/go-swagger/issues/2623) +- undefined: validate.ReadOnly [\#2613](https://github.com/cloudentity/go-swagger/issues/2613) +- \[BUG\]gen model-package with relative path has incorrect imports from v0.25.0 [\#2608](https://github.com/cloudentity/go-swagger/issues/2608) +- Error: "source formatting on generated source "autoconfigure" failed" on server generate [\#2602](https://github.com/cloudentity/go-swagger/issues/2602) +- Error: "source formatting on generated source "autoconfigure" failed" if StrictResponders and ImplementationPackage were both set for a server generation [\#2601](https://github.com/cloudentity/go-swagger/issues/2601) +- How to change the case style \(pascal, camel\) of a struct tag [\#2600](https://github.com/cloudentity/go-swagger/issues/2600) +- 05 Method Not Allowed response instead of 400 with incorrect validation details [\#2598](https://github.com/cloudentity/go-swagger/issues/2598) +- Support nested body params for CompositeError [\#2594](https://github.com/cloudentity/go-swagger/issues/2594) +- \[apiKey\] auth by two apikey together\(AND Operation\) [\#2586](https://github.com/cloudentity/go-swagger/issues/2586) +- How to add authInfo to request with generated client [\#2584](https://github.com/cloudentity/go-swagger/issues/2584) +- Is there good to way to omit readonly key [\#2581](https://github.com/cloudentity/go-swagger/issues/2581) +- Generating Spec results in Invalid Type Error [\#2577](https://github.com/cloudentity/go-swagger/issues/2577) +- Integration with viper [\#2572](https://github.com/cloudentity/go-swagger/issues/2572) +- unsupported type "invalid type" [\#2569](https://github.com/cloudentity/go-swagger/issues/2569) +- Cannot install directly from github [\#2560](https://github.com/cloudentity/go-swagger/issues/2560) +- Generated server code with Go v1.15 and above generates deprecation warning for TLSConfig [\#2559](https://github.com/cloudentity/go-swagger/issues/2559) **Merged pull requests:** -- Add github workflow to validate bindata.go [\#2642](https://github.com/go-swagger/go-swagger/pull/2642) ([youyuanwu](https://github.com/youyuanwu)) -- Fix auto-configure example [\#2641](https://github.com/go-swagger/go-swagger/pull/2641) ([youyuanwu](https://github.com/youyuanwu)) -- Fix generate server with flag --keep-spec-order [\#2621](https://github.com/go-swagger/go-swagger/pull/2621) ([elipavlov](https://github.com/elipavlov)) -- 2617 array params [\#2620](https://github.com/go-swagger/go-swagger/pull/2620) ([dimovnike](https://github.com/dimovnike)) -- update build containers to freeze to go 1.15 for now [\#2606](https://github.com/go-swagger/go-swagger/pull/2606) ([casualjim](https://github.com/casualjim)) -- Removed bracket that was causeing an error if StrictResponders and Im… [\#2603](https://github.com/go-swagger/go-swagger/pull/2603) ([mattalexx](https://github.com/mattalexx)) -- Support nested body params for CompositeError [\#2595](https://github.com/go-swagger/go-swagger/pull/2595) ([veleek](https://github.com/veleek)) -- Build from interface panic fix [\#2591](https://github.com/go-swagger/go-swagger/pull/2591) ([Pungyeon](https://github.com/Pungyeon)) -- fix a broken link in todo-list tutorial [\#2589](https://github.com/go-swagger/go-swagger/pull/2589) ([rueyaa332266](https://github.com/rueyaa332266)) -- remove call to deprecated function `BuildNameToCertificate` [\#2582](https://github.com/go-swagger/go-swagger/pull/2582) ([rcousineau-xandr](https://github.com/rcousineau-xandr)) -- Added ppc64le support on circleci & goreleaser [\#2574](https://github.com/go-swagger/go-swagger/pull/2574) ([mgiessing](https://github.com/mgiessing)) -- CLI nil ptr dereference bug fix, and support enum completion [\#2571](https://github.com/go-swagger/go-swagger/pull/2571) ([youyuanwu](https://github.com/youyuanwu)) -- add option to add your own path [\#2570](https://github.com/go-swagger/go-swagger/pull/2570) ([matthewdaltonamount](https://github.com/matthewdaltonamount)) -- CLI code generation is ready for release [\#2562](https://github.com/go-swagger/go-swagger/pull/2562) ([youyuanwu](https://github.com/youyuanwu)) -- add enum description [\#2561](https://github.com/go-swagger/go-swagger/pull/2561) ([d0ngw](https://github.com/d0ngw)) -- Generate CLI: Able to generate cli for docker, and major functionalities complete [\#2556](https://github.com/go-swagger/go-swagger/pull/2556) ([youyuanwu](https://github.com/youyuanwu)) +- Add github workflow to validate bindata.go [\#2642](https://github.com/cloudentity/go-swagger/pull/2642) ([youyuanwu](https://github.com/youyuanwu)) +- Fix auto-configure example [\#2641](https://github.com/cloudentity/go-swagger/pull/2641) ([youyuanwu](https://github.com/youyuanwu)) +- Fix generate server with flag --keep-spec-order [\#2621](https://github.com/cloudentity/go-swagger/pull/2621) ([elipavlov](https://github.com/elipavlov)) +- 2617 array params [\#2620](https://github.com/cloudentity/go-swagger/pull/2620) ([dimovnike](https://github.com/dimovnike)) +- update build containers to freeze to go 1.15 for now [\#2606](https://github.com/cloudentity/go-swagger/pull/2606) ([casualjim](https://github.com/casualjim)) +- Removed bracket that was causeing an error if StrictResponders and Im… [\#2603](https://github.com/cloudentity/go-swagger/pull/2603) ([mattalexx](https://github.com/mattalexx)) +- Support nested body params for CompositeError [\#2595](https://github.com/cloudentity/go-swagger/pull/2595) ([veleek](https://github.com/veleek)) +- Build from interface panic fix [\#2591](https://github.com/cloudentity/go-swagger/pull/2591) ([Pungyeon](https://github.com/Pungyeon)) +- fix a broken link in todo-list tutorial [\#2589](https://github.com/cloudentity/go-swagger/pull/2589) ([rueyaa332266](https://github.com/rueyaa332266)) +- remove call to deprecated function `BuildNameToCertificate` [\#2582](https://github.com/cloudentity/go-swagger/pull/2582) ([rcousineau-xandr](https://github.com/rcousineau-xandr)) +- Added ppc64le support on circleci & goreleaser [\#2574](https://github.com/cloudentity/go-swagger/pull/2574) ([mgiessing](https://github.com/mgiessing)) +- CLI nil ptr dereference bug fix, and support enum completion [\#2571](https://github.com/cloudentity/go-swagger/pull/2571) ([youyuanwu](https://github.com/youyuanwu)) +- add option to add your own path [\#2570](https://github.com/cloudentity/go-swagger/pull/2570) ([matthewdaltonamount](https://github.com/matthewdaltonamount)) +- CLI code generation is ready for release [\#2562](https://github.com/cloudentity/go-swagger/pull/2562) ([youyuanwu](https://github.com/youyuanwu)) +- add enum description [\#2561](https://github.com/cloudentity/go-swagger/pull/2561) ([d0ngw](https://github.com/d0ngw)) +- Generate CLI: Able to generate cli for docker, and major functionalities complete [\#2556](https://github.com/cloudentity/go-swagger/pull/2556) ([youyuanwu](https://github.com/youyuanwu)) diff --git a/notes/v0.29.0.md b/notes/v0.29.0.md index fc673d486..822d9628e 100644 --- a/notes/v0.29.0.md +++ b/notes/v0.29.0.md @@ -1,38 +1,38 @@ # Changelog -## [v0.29.0](https://github.com/go-swagger/go-swagger/tree/v0.29.0) (2022-01-23) +## [v0.29.0](https://github.com/cloudentity/go-swagger/tree/v0.29.0) (2022-01-23) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.28.0...v0.29.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.28.0...v0.29.0) **Implemented enhancements:** -- custom generator / export generation data [\#2055](https://github.com/go-swagger/go-swagger/issues/2055) +- custom generator / export generation data [\#2055](https://github.com/cloudentity/go-swagger/issues/2055) **Closed issues:** -- crash in swagger generate spec --scan-models [\#2690](https://github.com/go-swagger/go-swagger/issues/2690) -- Support nested body params in map objects. [\#2684](https://github.com/go-swagger/go-swagger/issues/2684) -- My uint's becomes int64 and so does my byte's [\#2677](https://github.com/go-swagger/go-swagger/issues/2677) -- go-swagger generate invalid code [\#2667](https://github.com/go-swagger/go-swagger/issues/2667) -- When go-swagger will have support openApi 3.0 ? [\#2666](https://github.com/go-swagger/go-swagger/issues/2666) -- How to read body in handler? \(using params cause fields to be re-ordered\) [\#2665](https://github.com/go-swagger/go-swagger/issues/2665) -- Add Release Arch for darwin\_arm64 [\#2658](https://github.com/go-swagger/go-swagger/issues/2658) -- Is it possible to the order in which the APIs are shown in swagger [\#2646](https://github.com/go-swagger/go-swagger/issues/2646) -- how to combine swagger doc for multiple services running in different ports into a single SWAGGER UI [\#2645](https://github.com/go-swagger/go-swagger/issues/2645) -- Client generator generates code files with invalid/broken imports [\#2609](https://github.com/go-swagger/go-swagger/issues/2609) -- couldn't find a swagger spec [\#2580](https://github.com/go-swagger/go-swagger/issues/2580) +- crash in swagger generate spec --scan-models [\#2690](https://github.com/cloudentity/go-swagger/issues/2690) +- Support nested body params in map objects. [\#2684](https://github.com/cloudentity/go-swagger/issues/2684) +- My uint's becomes int64 and so does my byte's [\#2677](https://github.com/cloudentity/go-swagger/issues/2677) +- go-swagger generate invalid code [\#2667](https://github.com/cloudentity/go-swagger/issues/2667) +- When go-swagger will have support openApi 3.0 ? [\#2666](https://github.com/cloudentity/go-swagger/issues/2666) +- How to read body in handler? \(using params cause fields to be re-ordered\) [\#2665](https://github.com/cloudentity/go-swagger/issues/2665) +- Add Release Arch for darwin\_arm64 [\#2658](https://github.com/cloudentity/go-swagger/issues/2658) +- Is it possible to the order in which the APIs are shown in swagger [\#2646](https://github.com/cloudentity/go-swagger/issues/2646) +- how to combine swagger doc for multiple services running in different ports into a single SWAGGER UI [\#2645](https://github.com/cloudentity/go-swagger/issues/2645) +- Client generator generates code files with invalid/broken imports [\#2609](https://github.com/cloudentity/go-swagger/issues/2609) +- couldn't find a swagger spec [\#2580](https://github.com/cloudentity/go-swagger/issues/2580) **Merged pull requests:** -- Replace bindata with go:embed [\#2697](https://github.com/go-swagger/go-swagger/pull/2697) ([kaisawind](https://github.com/kaisawind)) -- Fixed exclude spec not work issue [\#2696](https://github.com/go-swagger/go-swagger/pull/2696) ([nanjj](https://github.com/nanjj)) -- Fix broken docs link to pflag project [\#2695](https://github.com/go-swagger/go-swagger/pull/2695) ([pgier](https://github.com/pgier)) -- avoid nil pointer panic [\#2691](https://github.com/go-swagger/go-swagger/pull/2691) ([dirkm](https://github.com/dirkm)) -- Add support for nested map property names in errors. [\#2685](https://github.com/go-swagger/go-swagger/pull/2685) ([veleek](https://github.com/veleek)) -- enhancement: Add `.Pointer\(\)` method to enums. [\#2680](https://github.com/go-swagger/go-swagger/pull/2680) ([thetorpedodog](https://github.com/thetorpedodog)) -- build binaries for Darwin arm64 [\#2671](https://github.com/go-swagger/go-swagger/pull/2671) ([parsnips](https://github.com/parsnips)) -- genspec: use schema only for params in body [\#2661](https://github.com/go-swagger/go-swagger/pull/2661) ([crazytyper](https://github.com/crazytyper)) -- codescan: use TypeSpec.Doc over GenDecl.Doc [\#2659](https://github.com/go-swagger/go-swagger/pull/2659) ([crazytyper](https://github.com/crazytyper)) +- Replace bindata with go:embed [\#2697](https://github.com/cloudentity/go-swagger/pull/2697) ([kaisawind](https://github.com/kaisawind)) +- Fixed exclude spec not work issue [\#2696](https://github.com/cloudentity/go-swagger/pull/2696) ([nanjj](https://github.com/nanjj)) +- Fix broken docs link to pflag project [\#2695](https://github.com/cloudentity/go-swagger/pull/2695) ([pgier](https://github.com/pgier)) +- avoid nil pointer panic [\#2691](https://github.com/cloudentity/go-swagger/pull/2691) ([dirkm](https://github.com/dirkm)) +- Add support for nested map property names in errors. [\#2685](https://github.com/cloudentity/go-swagger/pull/2685) ([veleek](https://github.com/veleek)) +- enhancement: Add `.Pointer\(\)` method to enums. [\#2680](https://github.com/cloudentity/go-swagger/pull/2680) ([thetorpedodog](https://github.com/thetorpedodog)) +- build binaries for Darwin arm64 [\#2671](https://github.com/cloudentity/go-swagger/pull/2671) ([parsnips](https://github.com/parsnips)) +- genspec: use schema only for params in body [\#2661](https://github.com/cloudentity/go-swagger/pull/2661) ([crazytyper](https://github.com/crazytyper)) +- codescan: use TypeSpec.Doc over GenDecl.Doc [\#2659](https://github.com/cloudentity/go-swagger/pull/2659) ([crazytyper](https://github.com/crazytyper)) diff --git a/notes/v0.30.0.md b/notes/v0.30.0.md index 158b7b25f..2428f0e0a 100644 --- a/notes/v0.30.0.md +++ b/notes/v0.30.0.md @@ -1,57 +1,57 @@ # Changelog -## [v0.30.0](https://github.com/go-swagger/go-swagger/tree/v0.30.0) (2022-08-26) +## [v0.30.0](https://github.com/cloudentity/go-swagger/tree/v0.30.0) (2022-08-26) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.29.0...v0.30.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.29.0...v0.30.0) **Implemented enhancements:** -- Support for extensions within swagger:route [\#1957](https://github.com/go-swagger/go-swagger/issues/1957) -- How to get enums to show up in a swagger specification? [\#954](https://github.com/go-swagger/go-swagger/issues/954) +- Support for extensions within swagger:route [\#1957](https://github.com/cloudentity/go-swagger/issues/1957) +- How to get enums to show up in a swagger specification? [\#954](https://github.com/cloudentity/go-swagger/issues/954) **Closed issues:** -- any type \(generics\) [\#2809](https://github.com/go-swagger/go-swagger/issues/2809) -- Question: how to make snakize to ignore some abbreviation? [\#2794](https://github.com/go-swagger/go-swagger/issues/2794) -- Work around for name collisions? [\#2792](https://github.com/go-swagger/go-swagger/issues/2792) -- Specify the same parameter more than one time [\#2786](https://github.com/go-swagger/go-swagger/issues/2786) -- unhandled type to resolve JSON pointer [\#2768](https://github.com/go-swagger/go-swagger/issues/2768) -- Go 1.19 change breaks swagger [\#2759](https://github.com/go-swagger/go-swagger/issues/2759) -- \[CLI\] Generating an empty object using `swagger:type object` does not work as expected. [\#2758](https://github.com/go-swagger/go-swagger/issues/2758) -- generate: Ref property in response doesn't have a description [\#2757](https://github.com/go-swagger/go-swagger/issues/2757) -- swagger generate client returns `info.title in body is required` [\#2739](https://github.com/go-swagger/go-swagger/issues/2739) -- Add trimPrefix and trimSuffix to template FuncMap [\#2737](https://github.com/go-swagger/go-swagger/issues/2737) -- Generated CLI does not compile when using arrays as query parameters [\#2735](https://github.com/go-swagger/go-swagger/issues/2735) -- How can I import from a yaml file [\#2729](https://github.com/go-swagger/go-swagger/issues/2729) -- Middleware not stopping request execution [\#2723](https://github.com/go-swagger/go-swagger/issues/2723) -- @Failure, @Success Response Type Usage Error [\#2722](https://github.com/go-swagger/go-swagger/issues/2722) -- Need to fix the options of `todo-list-server` in todo-list example [\#2716](https://github.com/go-swagger/go-swagger/issues/2716) -- Call for transparent HTTP status codes in generated struct [\#2706](https://github.com/go-swagger/go-swagger/issues/2706) -- strfmt.ObjectId is scanned back as an array of strings [\#2704](https://github.com/go-swagger/go-swagger/issues/2704) -- Cannot convert an expression of the type 'map\[string\]SomeType' to the type 'SomeType' [\#2682](https://github.com/go-swagger/go-swagger/issues/2682) -- Installing go-swagger as Debian packages fails [\#2558](https://github.com/go-swagger/go-swagger/issues/2558) -- swagger:type override is not working [\#2229](https://github.com/go-swagger/go-swagger/issues/2229) -- Generating code for go modules is much slower than under GOPATH [\#1826](https://github.com/go-swagger/go-swagger/issues/1826) +- any type \(generics\) [\#2809](https://github.com/cloudentity/go-swagger/issues/2809) +- Question: how to make snakize to ignore some abbreviation? [\#2794](https://github.com/cloudentity/go-swagger/issues/2794) +- Work around for name collisions? [\#2792](https://github.com/cloudentity/go-swagger/issues/2792) +- Specify the same parameter more than one time [\#2786](https://github.com/cloudentity/go-swagger/issues/2786) +- unhandled type to resolve JSON pointer [\#2768](https://github.com/cloudentity/go-swagger/issues/2768) +- Go 1.19 change breaks swagger [\#2759](https://github.com/cloudentity/go-swagger/issues/2759) +- \[CLI\] Generating an empty object using `swagger:type object` does not work as expected. [\#2758](https://github.com/cloudentity/go-swagger/issues/2758) +- generate: Ref property in response doesn't have a description [\#2757](https://github.com/cloudentity/go-swagger/issues/2757) +- swagger generate client returns `info.title in body is required` [\#2739](https://github.com/cloudentity/go-swagger/issues/2739) +- Add trimPrefix and trimSuffix to template FuncMap [\#2737](https://github.com/cloudentity/go-swagger/issues/2737) +- Generated CLI does not compile when using arrays as query parameters [\#2735](https://github.com/cloudentity/go-swagger/issues/2735) +- How can I import from a yaml file [\#2729](https://github.com/cloudentity/go-swagger/issues/2729) +- Middleware not stopping request execution [\#2723](https://github.com/cloudentity/go-swagger/issues/2723) +- @Failure, @Success Response Type Usage Error [\#2722](https://github.com/cloudentity/go-swagger/issues/2722) +- Need to fix the options of `todo-list-server` in todo-list example [\#2716](https://github.com/cloudentity/go-swagger/issues/2716) +- Call for transparent HTTP status codes in generated struct [\#2706](https://github.com/cloudentity/go-swagger/issues/2706) +- strfmt.ObjectId is scanned back as an array of strings [\#2704](https://github.com/cloudentity/go-swagger/issues/2704) +- Cannot convert an expression of the type 'map\[string\]SomeType' to the type 'SomeType' [\#2682](https://github.com/cloudentity/go-swagger/issues/2682) +- Installing go-swagger as Debian packages fails [\#2558](https://github.com/cloudentity/go-swagger/issues/2558) +- swagger:type override is not working [\#2229](https://github.com/cloudentity/go-swagger/issues/2229) +- Generating code for go modules is much slower than under GOPATH [\#1826](https://github.com/cloudentity/go-swagger/issues/1826) **Merged pull requests:** -- Fixes for go 1.19 [\#2808](https://github.com/go-swagger/go-swagger/pull/2808) ([casualjim](https://github.com/casualjim)) -- fixbug: `interface{}` in a `map` as value should be generated/typed to `any` [\#2776](https://github.com/go-swagger/go-swagger/pull/2776) ([emilgpa](https://github.com/emilgpa)) -- Fix docker command in install.md [\#2765](https://github.com/go-swagger/go-swagger/pull/2765) ([tingstad](https://github.com/tingstad)) -- 1957: Support for extensions within swagger:route [\#2751](https://github.com/go-swagger/go-swagger/pull/2751) ([Huckletoon](https://github.com/Huckletoon)) -- \#2748 passing request context to ConextValidate\(\) [\#2749](https://github.com/go-swagger/go-swagger/pull/2749) ([dimovnike](https://github.com/dimovnike)) -- support swagger:type on structs [\#2747](https://github.com/go-swagger/go-swagger/pull/2747) ([casualjim](https://github.com/casualjim)) -- Add support for template plugins [\#2745](https://github.com/go-swagger/go-swagger/pull/2745) ([kevinbarbour](https://github.com/kevinbarbour)) -- Update jwt library [\#2744](https://github.com/go-swagger/go-swagger/pull/2744) ([katyanna](https://github.com/katyanna)) -- Add sprig library for template functions. [\#2741](https://github.com/go-swagger/go-swagger/pull/2741) ([kevinbarbour](https://github.com/kevinbarbour)) -- Fix issue assigning slice pointer to slice in CLI [\#2736](https://github.com/go-swagger/go-swagger/pull/2736) ([kevinbarbour](https://github.com/kevinbarbour)) -- support `MarshalText` in custom type [\#2727](https://github.com/go-swagger/go-swagger/pull/2727) ([emilgpa](https://github.com/emilgpa)) -- fixes using indexed property for accessing additional properties [\#2725](https://github.com/go-swagger/go-swagger/pull/2725) ([casualjim](https://github.com/casualjim)) -- Update the option --tls-certificate-key to --tls-key of todo-list-server in todo-list example [\#2718](https://github.com/go-swagger/go-swagger/pull/2718) ([nishipy](https://github.com/nishipy)) -- support for passing basepath as an argument [\#2713](https://github.com/go-swagger/go-swagger/pull/2713) ([svyotov](https://github.com/svyotov)) -- add an interface to deal with client responses based on the status code [\#2708](https://github.com/go-swagger/go-swagger/pull/2708) ([casualjim](https://github.com/casualjim)) -- support key non-string in map if the key implements TextMarshaler interface [\#2707](https://github.com/go-swagger/go-swagger/pull/2707) ([emilgpa](https://github.com/emilgpa)) -- \#2704 codescan fix for strfmt.ObjectId [\#2705](https://github.com/go-swagger/go-swagger/pull/2705) ([dimovnike](https://github.com/dimovnike)) +- Fixes for go 1.19 [\#2808](https://github.com/cloudentity/go-swagger/pull/2808) ([casualjim](https://github.com/casualjim)) +- fixbug: `interface{}` in a `map` as value should be generated/typed to `any` [\#2776](https://github.com/cloudentity/go-swagger/pull/2776) ([emilgpa](https://github.com/emilgpa)) +- Fix docker command in install.md [\#2765](https://github.com/cloudentity/go-swagger/pull/2765) ([tingstad](https://github.com/tingstad)) +- 1957: Support for extensions within swagger:route [\#2751](https://github.com/cloudentity/go-swagger/pull/2751) ([Huckletoon](https://github.com/Huckletoon)) +- \#2748 passing request context to ConextValidate\(\) [\#2749](https://github.com/cloudentity/go-swagger/pull/2749) ([dimovnike](https://github.com/dimovnike)) +- support swagger:type on structs [\#2747](https://github.com/cloudentity/go-swagger/pull/2747) ([casualjim](https://github.com/casualjim)) +- Add support for template plugins [\#2745](https://github.com/cloudentity/go-swagger/pull/2745) ([kevinbarbour](https://github.com/kevinbarbour)) +- Update jwt library [\#2744](https://github.com/cloudentity/go-swagger/pull/2744) ([katyanna](https://github.com/katyanna)) +- Add sprig library for template functions. [\#2741](https://github.com/cloudentity/go-swagger/pull/2741) ([kevinbarbour](https://github.com/kevinbarbour)) +- Fix issue assigning slice pointer to slice in CLI [\#2736](https://github.com/cloudentity/go-swagger/pull/2736) ([kevinbarbour](https://github.com/kevinbarbour)) +- support `MarshalText` in custom type [\#2727](https://github.com/cloudentity/go-swagger/pull/2727) ([emilgpa](https://github.com/emilgpa)) +- fixes using indexed property for accessing additional properties [\#2725](https://github.com/cloudentity/go-swagger/pull/2725) ([casualjim](https://github.com/casualjim)) +- Update the option --tls-certificate-key to --tls-key of todo-list-server in todo-list example [\#2718](https://github.com/cloudentity/go-swagger/pull/2718) ([nishipy](https://github.com/nishipy)) +- support for passing basepath as an argument [\#2713](https://github.com/cloudentity/go-swagger/pull/2713) ([svyotov](https://github.com/svyotov)) +- add an interface to deal with client responses based on the status code [\#2708](https://github.com/cloudentity/go-swagger/pull/2708) ([casualjim](https://github.com/casualjim)) +- support key non-string in map if the key implements TextMarshaler interface [\#2707](https://github.com/cloudentity/go-swagger/pull/2707) ([emilgpa](https://github.com/emilgpa)) +- \#2704 codescan fix for strfmt.ObjectId [\#2705](https://github.com/cloudentity/go-swagger/pull/2705) ([dimovnike](https://github.com/dimovnike)) diff --git a/notes/v0.30.1.md b/notes/v0.30.1.md index c2b84c5fc..909ef3169 100644 --- a/notes/v0.30.1.md +++ b/notes/v0.30.1.md @@ -1,17 +1,17 @@ # Changelog -## [v0.30.1](https://github.com/go-swagger/go-swagger/tree/v0.30.1) (2022-09-01) +## [v0.30.1](https://github.com/cloudentity/go-swagger/tree/v0.30.1) (2022-09-01) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.0...v0.30.1) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.30.0...v0.30.1) **Closed issues:** -- v0.30.0 won't install on golang\(1.18/1.19\)-alpine container [\#2816](https://github.com/go-swagger/go-swagger/issues/2816) -- v0.30.0 causes build comment error in go install [\#2815](https://github.com/go-swagger/go-swagger/issues/2815) +- v0.30.0 won't install on golang\(1.18/1.19\)-alpine container [\#2816](https://github.com/cloudentity/go-swagger/issues/2816) +- v0.30.0 causes build comment error in go install [\#2815](https://github.com/cloudentity/go-swagger/issues/2815) **Merged pull requests:** -- Allow older go [\#2818](https://github.com/go-swagger/go-swagger/pull/2818) ([casualjim](https://github.com/casualjim)) +- Allow older go [\#2818](https://github.com/cloudentity/go-swagger/pull/2818) ([casualjim](https://github.com/casualjim)) diff --git a/notes/v0.30.2.md b/notes/v0.30.2.md index 53cc79d3d..8e8973e40 100644 --- a/notes/v0.30.2.md +++ b/notes/v0.30.2.md @@ -1,16 +1,16 @@ # Changelog -## [v0.30.2](https://github.com/go-swagger/go-swagger/tree/v0.30.2) (2022-09-01) +## [v0.30.2](https://github.com/cloudentity/go-swagger/tree/v0.30.2) (2022-09-01) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.1...v0.30.2) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.30.1...v0.30.2) **Closed issues:** -- go-swagger mixin outputs json with the `--format=yaml` option [\#2817](https://github.com/go-swagger/go-swagger/issues/2817) +- go-swagger mixin outputs json with the `--format=yaml` option [\#2817](https://github.com/cloudentity/go-swagger/issues/2817) **Merged pull requests:** -- format output as yaml [\#2819](https://github.com/go-swagger/go-swagger/pull/2819) ([casualjim](https://github.com/casualjim)) +- format output as yaml [\#2819](https://github.com/cloudentity/go-swagger/pull/2819) ([casualjim](https://github.com/casualjim)) diff --git a/notes/v0.30.3.md b/notes/v0.30.3.md index 1bb0c6bd2..9d4e1c678 100644 --- a/notes/v0.30.3.md +++ b/notes/v0.30.3.md @@ -1,25 +1,25 @@ # Changelog -## [v0.30.3](https://github.com/go-swagger/go-swagger/tree/v0.30.3) (2022-09-25) +## [v0.30.3](https://github.com/cloudentity/go-swagger/tree/v0.30.3) (2022-09-25) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.2...v0.30.3) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/v0.30.2...v0.30.3) **Closed issues:** -- The latest version is not generating schema for swagger:parameters [\#2842](https://github.com/go-swagger/go-swagger/issues/2842) -- Generate empty models [\#2841](https://github.com/go-swagger/go-swagger/issues/2841) -- can not generate swagger spec [\#2838](https://github.com/go-swagger/go-swagger/issues/2838) -- Handle circular references [\#2831](https://github.com/go-swagger/go-swagger/issues/2831) -- Unable to locate package swagger [\#2800](https://github.com/go-swagger/go-swagger/issues/2800) -- generate: YAML parse error in meta doc when using tabs [\#2756](https://github.com/go-swagger/go-swagger/issues/2756) +- The latest version is not generating schema for swagger:parameters [\#2842](https://github.com/cloudentity/go-swagger/issues/2842) +- Generate empty models [\#2841](https://github.com/cloudentity/go-swagger/issues/2841) +- can not generate swagger spec [\#2838](https://github.com/cloudentity/go-swagger/issues/2838) +- Handle circular references [\#2831](https://github.com/cloudentity/go-swagger/issues/2831) +- Unable to locate package swagger [\#2800](https://github.com/cloudentity/go-swagger/issues/2800) +- generate: YAML parse error in meta doc when using tabs [\#2756](https://github.com/cloudentity/go-swagger/issues/2756) **Merged pull requests:** -- build without -trimpath because it causes issues when generating a spec [\#2843](https://github.com/go-swagger/go-swagger/pull/2843) ([casualjim](https://github.com/casualjim)) -- Support for extensions within swagger:parameters [\#2836](https://github.com/go-swagger/go-swagger/pull/2836) ([cccRaim](https://github.com/cccRaim)) -- Fix \#2800 Update key import method for debian [\#2834](https://github.com/go-swagger/go-swagger/pull/2834) ([tina-hello](https://github.com/tina-hello)) -- fixes \#2831, circular dependency issue [\#2832](https://github.com/go-swagger/go-swagger/pull/2832) ([Aven30](https://github.com/Aven30)) -- made up for missing packages from template [\#2824](https://github.com/go-swagger/go-swagger/pull/2824) ([koron](https://github.com/koron)) +- build without -trimpath because it causes issues when generating a spec [\#2843](https://github.com/cloudentity/go-swagger/pull/2843) ([casualjim](https://github.com/casualjim)) +- Support for extensions within swagger:parameters [\#2836](https://github.com/cloudentity/go-swagger/pull/2836) ([cccRaim](https://github.com/cccRaim)) +- Fix \#2800 Update key import method for debian [\#2834](https://github.com/cloudentity/go-swagger/pull/2834) ([tina-hello](https://github.com/tina-hello)) +- fixes \#2831, circular dependency issue [\#2832](https://github.com/cloudentity/go-swagger/pull/2832) ([Aven30](https://github.com/Aven30)) +- made up for missing packages from template [\#2824](https://github.com/cloudentity/go-swagger/pull/2824) ([koron](https://github.com/koron)) diff --git a/notes/v0.5.0.md b/notes/v0.5.0.md index 05046e4bc..60588cd8b 100644 --- a/notes/v0.5.0.md +++ b/notes/v0.5.0.md @@ -1,93 +1,93 @@ -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.4.0...0.5.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.4.0...0.5.0) **Implemented enhancements:** -- No consumers and producers for "text/plain" in the client runtime [#360](https://github.com/go-swagger/go-swagger/issues/360) -- No consumers and producers for "application/xml" in the client runtime [#359](https://github.com/go-swagger/go-swagger/issues/359) -- Add http/unix socket transport [#278](https://github.com/go-swagger/go-swagger/issues/278) -- Clean up tutorial [#275](https://github.com/go-swagger/go-swagger/issues/275) +- No consumers and producers for "text/plain" in the client runtime [#360](https://github.com/cloudentity/go-swagger/issues/360) +- No consumers and producers for "application/xml" in the client runtime [#359](https://github.com/cloudentity/go-swagger/issues/359) +- Add http/unix socket transport [#278](https://github.com/cloudentity/go-swagger/issues/278) +- Clean up tutorial [#275](https://github.com/cloudentity/go-swagger/issues/275) **Fixed bugs:** -- Basic auth doesn't compile [#406](https://github.com/go-swagger/go-swagger/issues/406) -- Recursive model definition causes infinite loop [#399](https://github.com/go-swagger/go-swagger/issues/399) -- No data fields in the response object [#384](https://github.com/go-swagger/go-swagger/issues/384) -- Validation code tries to compare a non-nullable with a nil value. [#381](https://github.com/go-swagger/go-swagger/issues/381) -- CLI help is printed twice. [#375](https://github.com/go-swagger/go-swagger/issues/375) -- Question - Expose the server port if a random port is used for the server [#372](https://github.com/go-swagger/go-swagger/issues/372) -- Expanding nested items is broken. [#367](https://github.com/go-swagger/go-swagger/issues/367) -- Incorrect type used for validator [#363](https://github.com/go-swagger/go-swagger/issues/363) -- Generated comments on model types and client operations don't begin with the type / operation name in some cases [#356](https://github.com/go-swagger/go-swagger/issues/356) -- Wrong enum type names in the client generator [#352](https://github.com/go-swagger/go-swagger/issues/352) -- panic: on array/collectionFormat + validation [#351](https://github.com/go-swagger/go-swagger/issues/351) -- Default value is not generated for boolean type. [#350](https://github.com/go-swagger/go-swagger/issues/350) -- Generated model results in broken build [#340](https://github.com/go-swagger/go-swagger/issues/340) -- API client has wrong package name [#330](https://github.com/go-swagger/go-swagger/issues/330) -- duplicate declarations on a naming colision [#325](https://github.com/go-swagger/go-swagger/issues/325) -- Validator treats parameter references as errors [#321](https://github.com/go-swagger/go-swagger/issues/321) -- Issue with parameters of type file in the client generator [#320](https://github.com/go-swagger/go-swagger/issues/320) -- Map of base type generates a map of *Interface instead of map of Interface [#319](https://github.com/go-swagger/go-swagger/issues/319) -- Models: do not generate pointers and omitempty if property is required [#300](https://github.com/go-swagger/go-swagger/issues/300) +- Basic auth doesn't compile [#406](https://github.com/cloudentity/go-swagger/issues/406) +- Recursive model definition causes infinite loop [#399](https://github.com/cloudentity/go-swagger/issues/399) +- No data fields in the response object [#384](https://github.com/cloudentity/go-swagger/issues/384) +- Validation code tries to compare a non-nullable with a nil value. [#381](https://github.com/cloudentity/go-swagger/issues/381) +- CLI help is printed twice. [#375](https://github.com/cloudentity/go-swagger/issues/375) +- Question - Expose the server port if a random port is used for the server [#372](https://github.com/cloudentity/go-swagger/issues/372) +- Expanding nested items is broken. [#367](https://github.com/cloudentity/go-swagger/issues/367) +- Incorrect type used for validator [#363](https://github.com/cloudentity/go-swagger/issues/363) +- Generated comments on model types and client operations don't begin with the type / operation name in some cases [#356](https://github.com/cloudentity/go-swagger/issues/356) +- Wrong enum type names in the client generator [#352](https://github.com/cloudentity/go-swagger/issues/352) +- panic: on array/collectionFormat + validation [#351](https://github.com/cloudentity/go-swagger/issues/351) +- Default value is not generated for boolean type. [#350](https://github.com/cloudentity/go-swagger/issues/350) +- Generated model results in broken build [#340](https://github.com/cloudentity/go-swagger/issues/340) +- API client has wrong package name [#330](https://github.com/cloudentity/go-swagger/issues/330) +- duplicate declarations on a naming colision [#325](https://github.com/cloudentity/go-swagger/issues/325) +- Validator treats parameter references as errors [#321](https://github.com/cloudentity/go-swagger/issues/321) +- Issue with parameters of type file in the client generator [#320](https://github.com/cloudentity/go-swagger/issues/320) +- Map of base type generates a map of *Interface instead of map of Interface [#319](https://github.com/cloudentity/go-swagger/issues/319) +- Models: do not generate pointers and omitempty if property is required [#300](https://github.com/cloudentity/go-swagger/issues/300) **Closed issues:** -- Panic expanding responses that are a schema ref with circular refs [#415](https://github.com/go-swagger/go-swagger/issues/415) -- No way to hook code after flags are parsed but before request handling starts [#403](https://github.com/go-swagger/go-swagger/issues/403) -- Tagging a parameter with "pattern" doesn't seem to always have affect [#369](https://github.com/go-swagger/go-swagger/issues/369) -- Boolean parameters are generated into strings [#346](https://github.com/go-swagger/go-swagger/issues/346) -- Missing package swag in generated models [#345](https://github.com/go-swagger/go-swagger/issues/345) -- Wrong httpkit/validate package in generated model files [#343](https://github.com/go-swagger/go-swagger/issues/343) -- String param with binary format in body does not validate [#341](https://github.com/go-swagger/go-swagger/issues/341) -- Add support for tar, gzip [#326](https://github.com/go-swagger/go-swagger/issues/326) -- The generated import path has incorrect prefix [#323](https://github.com/go-swagger/go-swagger/issues/323) -- Some --skip-* flags not working [#322](https://github.com/go-swagger/go-swagger/issues/322) -- Support for cookies in the client runtime [#308](https://github.com/go-swagger/go-swagger/issues/308) +- Panic expanding responses that are a schema ref with circular refs [#415](https://github.com/cloudentity/go-swagger/issues/415) +- No way to hook code after flags are parsed but before request handling starts [#403](https://github.com/cloudentity/go-swagger/issues/403) +- Tagging a parameter with "pattern" doesn't seem to always have affect [#369](https://github.com/cloudentity/go-swagger/issues/369) +- Boolean parameters are generated into strings [#346](https://github.com/cloudentity/go-swagger/issues/346) +- Missing package swag in generated models [#345](https://github.com/cloudentity/go-swagger/issues/345) +- Wrong httpkit/validate package in generated model files [#343](https://github.com/cloudentity/go-swagger/issues/343) +- String param with binary format in body does not validate [#341](https://github.com/cloudentity/go-swagger/issues/341) +- Add support for tar, gzip [#326](https://github.com/cloudentity/go-swagger/issues/326) +- The generated import path has incorrect prefix [#323](https://github.com/cloudentity/go-swagger/issues/323) +- Some --skip-* flags not working [#322](https://github.com/cloudentity/go-swagger/issues/322) +- Support for cookies in the client runtime [#308](https://github.com/cloudentity/go-swagger/issues/308) **Merged pull requests:** -- adds dumpdata flags to client and server [#418](https://github.com/go-swagger/go-swagger/pull/418) ([casualjim](https://github.com/casualjim)) -- resolves refs for parameters and responses, fixes #384 [#417](https://github.com/go-swagger/go-swagger/pull/417) ([casualjim](https://github.com/casualjim)) -- fix Panic expanding responses that are a schema ref with circular [#416](https://github.com/go-swagger/go-swagger/pull/416) ([pytlesk4](https://github.com/pytlesk4)) -- Don't panic when handling circular refs. [#414](https://github.com/go-swagger/go-swagger/pull/414) ([pytlesk4](https://github.com/pytlesk4)) -- Fix build on all build servers [#412](https://github.com/go-swagger/go-swagger/pull/412) ([casualjim](https://github.com/casualjim)) -- Remove dependency heavy goconvey [#411](https://github.com/go-swagger/go-swagger/pull/411) ([casualjim](https://github.com/casualjim)) -- refines omitempty and fixes basicauth [#410](https://github.com/go-swagger/go-swagger/pull/410) ([casualjim](https://github.com/casualjim)) -- Add *raw-stream mimetype mapping [#408](https://github.com/go-swagger/go-swagger/pull/408) ([sflxn](https://github.com/sflxn)) -- Add setter to generated response writer [#405](https://github.com/go-swagger/go-swagger/pull/405) ([anfernee](https://github.com/anfernee)) -- Allow empty content-type when allowed list is empty [#404](https://github.com/go-swagger/go-swagger/pull/404) ([anfernee](https://github.com/anfernee)) -- generate all models if name not specified [#401](https://github.com/go-swagger/go-swagger/pull/401) ([easeway](https://github.com/easeway)) -- Proper handle of array of pointers to struct [#396](https://github.com/go-swagger/go-swagger/pull/396) ([gaplyk](https://github.com/gaplyk)) -- 368 merge expand items [#394](https://github.com/go-swagger/go-swagger/pull/394) ([casualjim](https://github.com/casualjim)) +- adds dumpdata flags to client and server [#418](https://github.com/cloudentity/go-swagger/pull/418) ([casualjim](https://github.com/casualjim)) +- resolves refs for parameters and responses, fixes #384 [#417](https://github.com/cloudentity/go-swagger/pull/417) ([casualjim](https://github.com/casualjim)) +- fix Panic expanding responses that are a schema ref with circular [#416](https://github.com/cloudentity/go-swagger/pull/416) ([pytlesk4](https://github.com/pytlesk4)) +- Don't panic when handling circular refs. [#414](https://github.com/cloudentity/go-swagger/pull/414) ([pytlesk4](https://github.com/pytlesk4)) +- Fix build on all build servers [#412](https://github.com/cloudentity/go-swagger/pull/412) ([casualjim](https://github.com/casualjim)) +- Remove dependency heavy goconvey [#411](https://github.com/cloudentity/go-swagger/pull/411) ([casualjim](https://github.com/casualjim)) +- refines omitempty and fixes basicauth [#410](https://github.com/cloudentity/go-swagger/pull/410) ([casualjim](https://github.com/casualjim)) +- Add *raw-stream mimetype mapping [#408](https://github.com/cloudentity/go-swagger/pull/408) ([sflxn](https://github.com/sflxn)) +- Add setter to generated response writer [#405](https://github.com/cloudentity/go-swagger/pull/405) ([anfernee](https://github.com/anfernee)) +- Allow empty content-type when allowed list is empty [#404](https://github.com/cloudentity/go-swagger/pull/404) ([anfernee](https://github.com/anfernee)) +- generate all models if name not specified [#401](https://github.com/cloudentity/go-swagger/pull/401) ([easeway](https://github.com/easeway)) +- Proper handle of array of pointers to struct [#396](https://github.com/cloudentity/go-swagger/pull/396) ([gaplyk](https://github.com/gaplyk)) +- 368 merge expand items [#394](https://github.com/cloudentity/go-swagger/pull/394) ([casualjim](https://github.com/casualjim)) - - expand schemas properly, with all tests passing. [#393](https://github.com/go-swagger/go-swagger/pull/393) ([pytlesk4](https://github.com/pytlesk4)) + - expand schemas properly, with all tests passing. [#393](https://github.com/cloudentity/go-swagger/pull/393) ([pytlesk4](https://github.com/pytlesk4)) -- split restapi.NewServer [#392](https://github.com/go-swagger/go-swagger/pull/392) ([caglar10ur](https://github.com/caglar10ur)) -- Fix issue with unknown primitive. [#391](https://github.com/go-swagger/go-swagger/pull/391) ([gaplyk](https://github.com/gaplyk)) -- better validation for invalid refs [#387](https://github.com/go-swagger/go-swagger/pull/387) ([casualjim](https://github.com/casualjim)) -- deal with empty required bodies [#385](https://github.com/go-swagger/go-swagger/pull/385) ([casualjim](https://github.com/casualjim)) -- primitive aliases are not nullable [#383](https://github.com/go-swagger/go-swagger/pull/383) ([casualjim](https://github.com/casualjim)) -- fixes some golint warnings in generated client [#380](https://github.com/go-swagger/go-swagger/pull/380) ([casualjim](https://github.com/casualjim)) -- mangle type name for string alias [#379](https://github.com/go-swagger/go-swagger/pull/379) ([casualjim](https://github.com/casualjim)) -- fix argument passing for validation function [#378](https://github.com/go-swagger/go-swagger/pull/378) ([casualjim](https://github.com/casualjim)) -- better default handling in parameters [#377](https://github.com/go-swagger/go-swagger/pull/377) ([casualjim](https://github.com/casualjim)) -- Fixes compilation error for stream type [#376](https://github.com/go-swagger/go-swagger/pull/376) ([casualjim](https://github.com/casualjim)) -- specializes min/max validations for int [#374](https://github.com/go-swagger/go-swagger/pull/374) ([casualjim](https://github.com/casualjim)) -- Separates listen from serve in server [#373](https://github.com/go-swagger/go-swagger/pull/373) ([casualjim](https://github.com/casualjim)) -- Add plain text consumer and producer [#364](https://github.com/go-swagger/go-swagger/pull/364) ([stoyanr](https://github.com/stoyanr)) -- Add XML consumer and producer [#362](https://github.com/go-swagger/go-swagger/pull/362) ([stoyanr](https://github.com/stoyanr)) -- scan: treat error primitive as string [#349](https://github.com/go-swagger/go-swagger/pull/349) ([fsouza](https://github.com/fsouza)) -- Fix overriding consumes in spec for client [#348](https://github.com/go-swagger/go-swagger/pull/348) ([casualjim](https://github.com/casualjim)) -- fix missing httpkit import in models [#344](https://github.com/go-swagger/go-swagger/pull/344) ([easeway](https://github.com/easeway)) -- fixes #330 package for client is client package [#339](https://github.com/go-swagger/go-swagger/pull/339) ([casualjim](https://github.com/casualjim)) -- update vendored deps [#338](https://github.com/go-swagger/go-swagger/pull/338) ([casualjim](https://github.com/casualjim)) -- adds --with-context for a request scoped net/context [#337](https://github.com/go-swagger/go-swagger/pull/337) ([casualjim](https://github.com/casualjim)) -- add support for binary string format [#336](https://github.com/go-swagger/go-swagger/pull/336) ([casualjim](https://github.com/casualjim)) -- make enum names for property different from aliased types [#335](https://github.com/go-swagger/go-swagger/pull/335) ([casualjim](https://github.com/casualjim)) -- add --scan-models flag for generate spec command [#333](https://github.com/go-swagger/go-swagger/pull/333) ([casualjim](https://github.com/casualjim)) -- no pointer for base type in maps [#332](https://github.com/go-swagger/go-swagger/pull/332) ([casualjim](https://github.com/casualjim)) -- reinstate --skip-* arguments [#329](https://github.com/go-swagger/go-swagger/pull/329) ([casualjim](https://github.com/casualjim)) -- Add tar, gzip support [#327](https://github.com/go-swagger/go-swagger/pull/327) ([jzt](https://github.com/jzt)) -- full path for go imports run [#324](https://github.com/go-swagger/go-swagger/pull/324) ([casualjim](https://github.com/casualjim)) -- ensure file names don't end with _test [#318](https://github.com/go-swagger/go-swagger/pull/318) ([casualjim](https://github.com/casualjim)) -- fix #306 also recognize application/octet-stream in generator [#317](https://github.com/go-swagger/go-swagger/pull/317) ([casualjim](https://github.com/casualjim)) -- update changelog [#316](https://github.com/go-swagger/go-swagger/pull/316) ([casualjim](https://github.com/casualjim)) +- split restapi.NewServer [#392](https://github.com/cloudentity/go-swagger/pull/392) ([caglar10ur](https://github.com/caglar10ur)) +- Fix issue with unknown primitive. [#391](https://github.com/cloudentity/go-swagger/pull/391) ([gaplyk](https://github.com/gaplyk)) +- better validation for invalid refs [#387](https://github.com/cloudentity/go-swagger/pull/387) ([casualjim](https://github.com/casualjim)) +- deal with empty required bodies [#385](https://github.com/cloudentity/go-swagger/pull/385) ([casualjim](https://github.com/casualjim)) +- primitive aliases are not nullable [#383](https://github.com/cloudentity/go-swagger/pull/383) ([casualjim](https://github.com/casualjim)) +- fixes some golint warnings in generated client [#380](https://github.com/cloudentity/go-swagger/pull/380) ([casualjim](https://github.com/casualjim)) +- mangle type name for string alias [#379](https://github.com/cloudentity/go-swagger/pull/379) ([casualjim](https://github.com/casualjim)) +- fix argument passing for validation function [#378](https://github.com/cloudentity/go-swagger/pull/378) ([casualjim](https://github.com/casualjim)) +- better default handling in parameters [#377](https://github.com/cloudentity/go-swagger/pull/377) ([casualjim](https://github.com/casualjim)) +- Fixes compilation error for stream type [#376](https://github.com/cloudentity/go-swagger/pull/376) ([casualjim](https://github.com/casualjim)) +- specializes min/max validations for int [#374](https://github.com/cloudentity/go-swagger/pull/374) ([casualjim](https://github.com/casualjim)) +- Separates listen from serve in server [#373](https://github.com/cloudentity/go-swagger/pull/373) ([casualjim](https://github.com/casualjim)) +- Add plain text consumer and producer [#364](https://github.com/cloudentity/go-swagger/pull/364) ([stoyanr](https://github.com/stoyanr)) +- Add XML consumer and producer [#362](https://github.com/cloudentity/go-swagger/pull/362) ([stoyanr](https://github.com/stoyanr)) +- scan: treat error primitive as string [#349](https://github.com/cloudentity/go-swagger/pull/349) ([fsouza](https://github.com/fsouza)) +- Fix overriding consumes in spec for client [#348](https://github.com/cloudentity/go-swagger/pull/348) ([casualjim](https://github.com/casualjim)) +- fix missing httpkit import in models [#344](https://github.com/cloudentity/go-swagger/pull/344) ([easeway](https://github.com/easeway)) +- fixes #330 package for client is client package [#339](https://github.com/cloudentity/go-swagger/pull/339) ([casualjim](https://github.com/casualjim)) +- update vendored deps [#338](https://github.com/cloudentity/go-swagger/pull/338) ([casualjim](https://github.com/casualjim)) +- adds --with-context for a request scoped net/context [#337](https://github.com/cloudentity/go-swagger/pull/337) ([casualjim](https://github.com/casualjim)) +- add support for binary string format [#336](https://github.com/cloudentity/go-swagger/pull/336) ([casualjim](https://github.com/casualjim)) +- make enum names for property different from aliased types [#335](https://github.com/cloudentity/go-swagger/pull/335) ([casualjim](https://github.com/casualjim)) +- add --scan-models flag for generate spec command [#333](https://github.com/cloudentity/go-swagger/pull/333) ([casualjim](https://github.com/casualjim)) +- no pointer for base type in maps [#332](https://github.com/cloudentity/go-swagger/pull/332) ([casualjim](https://github.com/casualjim)) +- reinstate --skip-* arguments [#329](https://github.com/cloudentity/go-swagger/pull/329) ([casualjim](https://github.com/casualjim)) +- Add tar, gzip support [#327](https://github.com/cloudentity/go-swagger/pull/327) ([jzt](https://github.com/jzt)) +- full path for go imports run [#324](https://github.com/cloudentity/go-swagger/pull/324) ([casualjim](https://github.com/casualjim)) +- ensure file names don't end with _test [#318](https://github.com/cloudentity/go-swagger/pull/318) ([casualjim](https://github.com/casualjim)) +- fix #306 also recognize application/octet-stream in generator [#317](https://github.com/cloudentity/go-swagger/pull/317) ([casualjim](https://github.com/casualjim)) +- update changelog [#316](https://github.com/cloudentity/go-swagger/pull/316) ([casualjim](https://github.com/casualjim)) diff --git a/notes/v0.5.9.md b/notes/v0.5.9.md index 68d47eaff..8f9cbad23 100644 --- a/notes/v0.5.9.md +++ b/notes/v0.5.9.md @@ -1,98 +1,98 @@ # Change Log -## [0.6.0](https://github.com/go-swagger/go-swagger/tree/0.6.0) (2016-05-23) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.5.0...0.6.0) +## [0.6.0](https://github.com/cloudentity/go-swagger/tree/0.6.0) (2016-05-23) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.5.0...0.6.0) **Implemented enhancements:** -- x-nullable: false doesn't affect required values [\#458](https://github.com/go-swagger/go-swagger/issues/458) -- Refactor package structures [\#420](https://github.com/go-swagger/go-swagger/issues/420) +- x-nullable: false doesn't affect required values [\#458](https://github.com/cloudentity/go-swagger/issues/458) +- Refactor package structures [\#420](https://github.com/cloudentity/go-swagger/issues/420) **Fixed bugs:** -- No validator code call for array items if they are other models. [\#524](https://github.com/go-swagger/go-swagger/issues/524) -- escaped slashes in path ids are incorrectly decoded [\#522](https://github.com/go-swagger/go-swagger/issues/522) -- Multipart form generates unnecessary variable that lead to compile error [\#511](https://github.com/go-swagger/go-swagger/issues/511) -- Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. [\#499](https://github.com/go-swagger/go-swagger/issues/499) -- Recursive definition causes stack overflow [\#483](https://github.com/go-swagger/go-swagger/issues/483) -- Fail and log on errors adding user-defined CLI flags [\#470](https://github.com/go-swagger/go-swagger/issues/470) -- Specification basePath is not respected [\#465](https://github.com/go-swagger/go-swagger/issues/465) -- Incorrect case in generated model code referencing model name [\#460](https://github.com/go-swagger/go-swagger/issues/460) -- Presence of required nested object is not validated [\#455](https://github.com/go-swagger/go-swagger/issues/455) -- Incorrectly generated Marshaller causes unlimited recursive Marshal calls [\#454](https://github.com/go-swagger/go-swagger/issues/454) -- Optional nested objects are not validated [\#453](https://github.com/go-swagger/go-swagger/issues/453) -- Swagger generate oauth2 scope [\#449](https://github.com/go-swagger/go-swagger/issues/449) -- Panic on form validation for mutlipart upload [\#438](https://github.com/go-swagger/go-swagger/issues/438) -- x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x [\#433](https://github.com/go-swagger/go-swagger/issues/433) -- Incorrect unmarshal code generated for polymorphic object parent [\#423](https://github.com/go-swagger/go-swagger/issues/423) +- No validator code call for array items if they are other models. [\#524](https://github.com/cloudentity/go-swagger/issues/524) +- escaped slashes in path ids are incorrectly decoded [\#522](https://github.com/cloudentity/go-swagger/issues/522) +- Multipart form generates unnecessary variable that lead to compile error [\#511](https://github.com/cloudentity/go-swagger/issues/511) +- Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. [\#499](https://github.com/cloudentity/go-swagger/issues/499) +- Recursive definition causes stack overflow [\#483](https://github.com/cloudentity/go-swagger/issues/483) +- Fail and log on errors adding user-defined CLI flags [\#470](https://github.com/cloudentity/go-swagger/issues/470) +- Specification basePath is not respected [\#465](https://github.com/cloudentity/go-swagger/issues/465) +- Incorrect case in generated model code referencing model name [\#460](https://github.com/cloudentity/go-swagger/issues/460) +- Presence of required nested object is not validated [\#455](https://github.com/cloudentity/go-swagger/issues/455) +- Incorrectly generated Marshaller causes unlimited recursive Marshal calls [\#454](https://github.com/cloudentity/go-swagger/issues/454) +- Optional nested objects are not validated [\#453](https://github.com/cloudentity/go-swagger/issues/453) +- Swagger generate oauth2 scope [\#449](https://github.com/cloudentity/go-swagger/issues/449) +- Panic on form validation for mutlipart upload [\#438](https://github.com/cloudentity/go-swagger/issues/438) +- x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x [\#433](https://github.com/cloudentity/go-swagger/issues/433) +- Incorrect unmarshal code generated for polymorphic object parent [\#423](https://github.com/cloudentity/go-swagger/issues/423) **Closed issues:** -- Using user defined logger instead of fmt.Printf [\#528](https://github.com/go-swagger/go-swagger/issues/528) -- where is the spec validator tested [\#525](https://github.com/go-swagger/go-swagger/issues/525) -- Integer enum validation always fail [\#523](https://github.com/go-swagger/go-swagger/issues/523) -- Skip parameter fields with json tag `json:"-"` [\#520](https://github.com/go-swagger/go-swagger/issues/520) -- Typo multipart/form-data as "Mulitpart" [\#518](https://github.com/go-swagger/go-swagger/issues/518) -- Generate models for internal use only [\#516](https://github.com/go-swagger/go-swagger/issues/516) -- Parameters template bug leads to errors in header validation [\#494](https://github.com/go-swagger/go-swagger/issues/494) -- types don't match: expect map key string or int get: bool [\#490](https://github.com/go-swagger/go-swagger/issues/490) -- go swagger generated code is not fully golint-able [\#487](https://github.com/go-swagger/go-swagger/issues/487) -- Validator treats array in example as invalid data [\#478](https://github.com/go-swagger/go-swagger/issues/478) -- Unnecessary "required" validation for array items [\#472](https://github.com/go-swagger/go-swagger/issues/472) -- Add hints for the type names generated by swagger [\#471](https://github.com/go-swagger/go-swagger/issues/471) -- go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" [\#434](https://github.com/go-swagger/go-swagger/issues/434) -- Add a configuration layer for TLS. [\#430](https://github.com/go-swagger/go-swagger/issues/430) +- Using user defined logger instead of fmt.Printf [\#528](https://github.com/cloudentity/go-swagger/issues/528) +- where is the spec validator tested [\#525](https://github.com/cloudentity/go-swagger/issues/525) +- Integer enum validation always fail [\#523](https://github.com/cloudentity/go-swagger/issues/523) +- Skip parameter fields with json tag `json:"-"` [\#520](https://github.com/cloudentity/go-swagger/issues/520) +- Typo multipart/form-data as "Mulitpart" [\#518](https://github.com/cloudentity/go-swagger/issues/518) +- Generate models for internal use only [\#516](https://github.com/cloudentity/go-swagger/issues/516) +- Parameters template bug leads to errors in header validation [\#494](https://github.com/cloudentity/go-swagger/issues/494) +- types don't match: expect map key string or int get: bool [\#490](https://github.com/cloudentity/go-swagger/issues/490) +- go swagger generated code is not fully golint-able [\#487](https://github.com/cloudentity/go-swagger/issues/487) +- Validator treats array in example as invalid data [\#478](https://github.com/cloudentity/go-swagger/issues/478) +- Unnecessary "required" validation for array items [\#472](https://github.com/cloudentity/go-swagger/issues/472) +- Add hints for the type names generated by swagger [\#471](https://github.com/cloudentity/go-swagger/issues/471) +- go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" [\#434](https://github.com/cloudentity/go-swagger/issues/434) +- Add a configuration layer for TLS. [\#430](https://github.com/cloudentity/go-swagger/issues/430) **Merged pull requests:** -- Added possibility for users to defined their custom logger. [\#529](https://github.com/go-swagger/go-swagger/pull/529) ([vburenin](https://github.com/vburenin)) -- update vendored packages [\#527](https://github.com/go-swagger/go-swagger/pull/527) ([casualjim](https://github.com/casualjim)) -- Fixed bug for not generated validator call if there is an array of complex objects. [\#526](https://github.com/go-swagger/go-swagger/pull/526) ([vburenin](https://github.com/vburenin)) -- skip fields in parameter structs with struct tag `json:"-"` [\#521](https://github.com/go-swagger/go-swagger/pull/521) ([jlburkhead](https://github.com/jlburkhead)) -- Fix typo mulit vs multi [\#519](https://github.com/go-swagger/go-swagger/pull/519) ([fiorix](https://github.com/fiorix)) -- add support for oauth2 to generator [\#517](https://github.com/go-swagger/go-swagger/pull/517) ([casualjim](https://github.com/casualjim)) -- fail on invalid command line definition [\#514](https://github.com/go-swagger/go-swagger/pull/514) ([casualjim](https://github.com/casualjim)) -- remove unused param var [\#513](https://github.com/go-swagger/go-swagger/pull/513) ([casualjim](https://github.com/casualjim)) -- update context, imports, swag, runtime, loads and govalidator [\#512](https://github.com/go-swagger/go-swagger/pull/512) ([casualjim](https://github.com/casualjim)) -- Add support for strfmt.MAC [\#509](https://github.com/go-swagger/go-swagger/pull/509) ([tzneal](https://github.com/tzneal)) -- Put params fix [\#508](https://github.com/go-swagger/go-swagger/pull/508) ([ivan1993spb](https://github.com/ivan1993spb)) -- Added missing wait for the client generator. [\#507](https://github.com/go-swagger/go-swagger/pull/507) ([casualjim](https://github.com/casualjim)) -- Leveraging Go goroutings to speed up generation process in multicore environment. [\#504](https://github.com/go-swagger/go-swagger/pull/504) ([vburenin](https://github.com/vburenin)) -- Removed redundant code. Less JSON parsing. Speedups on many things in… [\#503](https://github.com/go-swagger/go-swagger/pull/503) ([vburenin](https://github.com/vburenin)) -- Combined fix of 453 and 455 bugs. [\#502](https://github.com/go-swagger/go-swagger/pull/502) ([vburenin](https://github.com/vburenin)) -- Prevents parsing structs that are needed when parsing dicovered schemas [\#498](https://github.com/go-swagger/go-swagger/pull/498) ([seanbrant](https://github.com/seanbrant)) -- Add missed go code generation for \#494 [\#497](https://github.com/go-swagger/go-swagger/pull/497) ([galaxie](https://github.com/galaxie)) -- Use canonicalized keys to retrieve values from http.Request.Header [\#495](https://github.com/go-swagger/go-swagger/pull/495) ([galaxie](https://github.com/galaxie)) -- Pascalize method arguments in client operations - fixes \#487 [\#488](https://github.com/go-swagger/go-swagger/pull/488) ([MStoykov](https://github.com/MStoykov)) -- 420 package refactor [\#486](https://github.com/go-swagger/go-swagger/pull/486) ([casualjim](https://github.com/casualjim)) -- move analysis out of spec package [\#485](https://github.com/go-swagger/go-swagger/pull/485) ([casualjim](https://github.com/casualjim)) -- generator: Use a JSON decoder with UseNumber enabled for unmarshaling [\#482](https://github.com/go-swagger/go-swagger/pull/482) ([chancez](https://github.com/chancez)) -- updates unmarshal for discriminated types as property [\#480](https://github.com/go-swagger/go-swagger/pull/480) ([casualjim](https://github.com/casualjim)) -- second part of bugfix [\#479](https://github.com/go-swagger/go-swagger/pull/479) ([casualjim](https://github.com/casualjim)) -- validate items more often [\#475](https://github.com/go-swagger/go-swagger/pull/475) ([casualjim](https://github.com/casualjim)) -- Use cache as it is designed to be used, not as it is actually used. [\#474](https://github.com/go-swagger/go-swagger/pull/474) ([vburenin](https://github.com/vburenin)) -- Required flag is reset for array items. [\#473](https://github.com/go-swagger/go-swagger/pull/473) ([vburenin](https://github.com/vburenin)) -- fix appveyor builds [\#468](https://github.com/go-swagger/go-swagger/pull/468) ([casualjim](https://github.com/casualjim)) -- generator: fix package assumption on server generation [\#467](https://github.com/go-swagger/go-swagger/pull/467) ([jwmaag](https://github.com/jwmaag)) -- Use spec BasePath when it is non-empty. [\#466](https://github.com/go-swagger/go-swagger/pull/466) ([nikhilm](https://github.com/nikhilm)) -- fix some issues with additional properties generation [\#461](https://github.com/go-swagger/go-swagger/pull/461) ([casualjim](https://github.com/casualjim)) -- X nullable first [\#459](https://github.com/go-swagger/go-swagger/pull/459) ([vburenin](https://github.com/vburenin)) -- Fix https://github.com/go-swagger/go-swagger/issues/449 [\#451](https://github.com/go-swagger/go-swagger/pull/451) ([galeone](https://github.com/galeone)) -- Add validation required fix and corresponding package tests [\#450](https://github.com/go-swagger/go-swagger/pull/450) ([galaxie](https://github.com/galaxie)) -- Fixed bug in httpkit/client/runtime.go Submit\(\) [\#448](https://github.com/go-swagger/go-swagger/pull/448) ([ritchida](https://github.com/ritchida)) -- also exclude models/handlers in the client [\#447](https://github.com/go-swagger/go-swagger/pull/447) ([casualjim](https://github.com/casualjim)) -- add discard consumer/producer for http mimes [\#443](https://github.com/go-swagger/go-swagger/pull/443) ([casualjim](https://github.com/casualjim)) -- add note to readme about homebrew package [\#441](https://github.com/go-swagger/go-swagger/pull/441) ([casualjim](https://github.com/casualjim)) -- Fix typo \(defintion -\> definition\) [\#440](https://github.com/go-swagger/go-swagger/pull/440) ([flavioribeiro](https://github.com/flavioribeiro)) -- Improve error message [\#437](https://github.com/go-swagger/go-swagger/pull/437) ([abclogin](https://github.com/abclogin)) -- Bring back build util [\#435](https://github.com/go-swagger/go-swagger/pull/435) ([casualjim](https://github.com/casualjim)) -- Added user hook to config TLS layer. [\#432](https://github.com/go-swagger/go-swagger/pull/432) ([vburenin](https://github.com/vburenin)) -- \[wip\] once and for all work out the rules for pointing to things [\#431](https://github.com/go-swagger/go-swagger/pull/431) ([casualjim](https://github.com/casualjim)) -- disables code coverage for automated builds for a while [\#429](https://github.com/go-swagger/go-swagger/pull/429) ([casualjim](https://github.com/casualjim)) -- Fixes some issues with empty bodies [\#428](https://github.com/go-swagger/go-swagger/pull/428) ([casualjim](https://github.com/casualjim)) -- Improve error message [\#427](https://github.com/go-swagger/go-swagger/pull/427) ([abclogin](https://github.com/abclogin)) -- fix default produces [\#424](https://github.com/go-swagger/go-swagger/pull/424) ([casualjim](https://github.com/casualjim)) -- increase circle ci default timeout [\#419](https://github.com/go-swagger/go-swagger/pull/419) ([pytlesk4](https://github.com/pytlesk4)) +- Added possibility for users to defined their custom logger. [\#529](https://github.com/cloudentity/go-swagger/pull/529) ([vburenin](https://github.com/vburenin)) +- update vendored packages [\#527](https://github.com/cloudentity/go-swagger/pull/527) ([casualjim](https://github.com/casualjim)) +- Fixed bug for not generated validator call if there is an array of complex objects. [\#526](https://github.com/cloudentity/go-swagger/pull/526) ([vburenin](https://github.com/vburenin)) +- skip fields in parameter structs with struct tag `json:"-"` [\#521](https://github.com/cloudentity/go-swagger/pull/521) ([jlburkhead](https://github.com/jlburkhead)) +- Fix typo mulit vs multi [\#519](https://github.com/cloudentity/go-swagger/pull/519) ([fiorix](https://github.com/fiorix)) +- add support for oauth2 to generator [\#517](https://github.com/cloudentity/go-swagger/pull/517) ([casualjim](https://github.com/casualjim)) +- fail on invalid command line definition [\#514](https://github.com/cloudentity/go-swagger/pull/514) ([casualjim](https://github.com/casualjim)) +- remove unused param var [\#513](https://github.com/cloudentity/go-swagger/pull/513) ([casualjim](https://github.com/casualjim)) +- update context, imports, swag, runtime, loads and govalidator [\#512](https://github.com/cloudentity/go-swagger/pull/512) ([casualjim](https://github.com/casualjim)) +- Add support for strfmt.MAC [\#509](https://github.com/cloudentity/go-swagger/pull/509) ([tzneal](https://github.com/tzneal)) +- Put params fix [\#508](https://github.com/cloudentity/go-swagger/pull/508) ([ivan1993spb](https://github.com/ivan1993spb)) +- Added missing wait for the client generator. [\#507](https://github.com/cloudentity/go-swagger/pull/507) ([casualjim](https://github.com/casualjim)) +- Leveraging Go goroutings to speed up generation process in multicore environment. [\#504](https://github.com/cloudentity/go-swagger/pull/504) ([vburenin](https://github.com/vburenin)) +- Removed redundant code. Less JSON parsing. Speedups on many things in… [\#503](https://github.com/cloudentity/go-swagger/pull/503) ([vburenin](https://github.com/vburenin)) +- Combined fix of 453 and 455 bugs. [\#502](https://github.com/cloudentity/go-swagger/pull/502) ([vburenin](https://github.com/vburenin)) +- Prevents parsing structs that are needed when parsing dicovered schemas [\#498](https://github.com/cloudentity/go-swagger/pull/498) ([seanbrant](https://github.com/seanbrant)) +- Add missed go code generation for \#494 [\#497](https://github.com/cloudentity/go-swagger/pull/497) ([galaxie](https://github.com/galaxie)) +- Use canonicalized keys to retrieve values from http.Request.Header [\#495](https://github.com/cloudentity/go-swagger/pull/495) ([galaxie](https://github.com/galaxie)) +- Pascalize method arguments in client operations - fixes \#487 [\#488](https://github.com/cloudentity/go-swagger/pull/488) ([MStoykov](https://github.com/MStoykov)) +- 420 package refactor [\#486](https://github.com/cloudentity/go-swagger/pull/486) ([casualjim](https://github.com/casualjim)) +- move analysis out of spec package [\#485](https://github.com/cloudentity/go-swagger/pull/485) ([casualjim](https://github.com/casualjim)) +- generator: Use a JSON decoder with UseNumber enabled for unmarshaling [\#482](https://github.com/cloudentity/go-swagger/pull/482) ([chancez](https://github.com/chancez)) +- updates unmarshal for discriminated types as property [\#480](https://github.com/cloudentity/go-swagger/pull/480) ([casualjim](https://github.com/casualjim)) +- second part of bugfix [\#479](https://github.com/cloudentity/go-swagger/pull/479) ([casualjim](https://github.com/casualjim)) +- validate items more often [\#475](https://github.com/cloudentity/go-swagger/pull/475) ([casualjim](https://github.com/casualjim)) +- Use cache as it is designed to be used, not as it is actually used. [\#474](https://github.com/cloudentity/go-swagger/pull/474) ([vburenin](https://github.com/vburenin)) +- Required flag is reset for array items. [\#473](https://github.com/cloudentity/go-swagger/pull/473) ([vburenin](https://github.com/vburenin)) +- fix appveyor builds [\#468](https://github.com/cloudentity/go-swagger/pull/468) ([casualjim](https://github.com/casualjim)) +- generator: fix package assumption on server generation [\#467](https://github.com/cloudentity/go-swagger/pull/467) ([jwmaag](https://github.com/jwmaag)) +- Use spec BasePath when it is non-empty. [\#466](https://github.com/cloudentity/go-swagger/pull/466) ([nikhilm](https://github.com/nikhilm)) +- fix some issues with additional properties generation [\#461](https://github.com/cloudentity/go-swagger/pull/461) ([casualjim](https://github.com/casualjim)) +- X nullable first [\#459](https://github.com/cloudentity/go-swagger/pull/459) ([vburenin](https://github.com/vburenin)) +- Fix https://github.com/cloudentity/go-swagger/issues/449 [\#451](https://github.com/cloudentity/go-swagger/pull/451) ([galeone](https://github.com/galeone)) +- Add validation required fix and corresponding package tests [\#450](https://github.com/cloudentity/go-swagger/pull/450) ([galaxie](https://github.com/galaxie)) +- Fixed bug in httpkit/client/runtime.go Submit\(\) [\#448](https://github.com/cloudentity/go-swagger/pull/448) ([ritchida](https://github.com/ritchida)) +- also exclude models/handlers in the client [\#447](https://github.com/cloudentity/go-swagger/pull/447) ([casualjim](https://github.com/casualjim)) +- add discard consumer/producer for http mimes [\#443](https://github.com/cloudentity/go-swagger/pull/443) ([casualjim](https://github.com/casualjim)) +- add note to readme about homebrew package [\#441](https://github.com/cloudentity/go-swagger/pull/441) ([casualjim](https://github.com/casualjim)) +- Fix typo \(defintion -\> definition\) [\#440](https://github.com/cloudentity/go-swagger/pull/440) ([flavioribeiro](https://github.com/flavioribeiro)) +- Improve error message [\#437](https://github.com/cloudentity/go-swagger/pull/437) ([abclogin](https://github.com/abclogin)) +- Bring back build util [\#435](https://github.com/cloudentity/go-swagger/pull/435) ([casualjim](https://github.com/casualjim)) +- Added user hook to config TLS layer. [\#432](https://github.com/cloudentity/go-swagger/pull/432) ([vburenin](https://github.com/vburenin)) +- \[wip\] once and for all work out the rules for pointing to things [\#431](https://github.com/cloudentity/go-swagger/pull/431) ([casualjim](https://github.com/casualjim)) +- disables code coverage for automated builds for a while [\#429](https://github.com/cloudentity/go-swagger/pull/429) ([casualjim](https://github.com/casualjim)) +- Fixes some issues with empty bodies [\#428](https://github.com/cloudentity/go-swagger/pull/428) ([casualjim](https://github.com/casualjim)) +- Improve error message [\#427](https://github.com/cloudentity/go-swagger/pull/427) ([abclogin](https://github.com/abclogin)) +- fix default produces [\#424](https://github.com/cloudentity/go-swagger/pull/424) ([casualjim](https://github.com/casualjim)) +- increase circle ci default timeout [\#419](https://github.com/cloudentity/go-swagger/pull/419) ([pytlesk4](https://github.com/pytlesk4)) diff --git a/notes/v0.6.0.md b/notes/v0.6.0.md index 6857f486e..8ba870283 100644 --- a/notes/v0.6.0.md +++ b/notes/v0.6.0.md @@ -1,166 +1,166 @@ -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.5.0...0.6.0) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.5.0...0.6.0) **Implemented enhancements:** - \[BREAKING\] Changes the decision for a pointer, required fields are now pointers, `x-nullable: false` restores the old behavior. -- CLI options to define HTTP/HTTPS protocol schema in generated server code. [\#587](https://github.com/go-swagger/go-swagger/issues/587) -- Generating spec for response without nested struct [\#446](https://github.com/go-swagger/go-swagger/issues/446) -- \[BREAKING\] Move most of it under the open apis org [\#188](https://github.com/go-swagger/go-swagger/issues/188) -- x-nullable: false doesn't affect required values [\#458](https://github.com/go-swagger/go-swagger/issues/458) -- Refactor package structures [\#420](https://github.com/go-swagger/go-swagger/issues/420) +- CLI options to define HTTP/HTTPS protocol schema in generated server code. [\#587](https://github.com/cloudentity/go-swagger/issues/587) +- Generating spec for response without nested struct [\#446](https://github.com/cloudentity/go-swagger/issues/446) +- \[BREAKING\] Move most of it under the open apis org [\#188](https://github.com/cloudentity/go-swagger/issues/188) +- x-nullable: false doesn't affect required values [\#458](https://github.com/cloudentity/go-swagger/issues/458) +- Refactor package structures [\#420](https://github.com/cloudentity/go-swagger/issues/420) **Fixed bugs:** -- Code gen: The go generate comment is missing required parameters [\#611](https://github.com/go-swagger/go-swagger/issues/611) -- Generated client panics trying to type-assert required string parameter [\#546](https://github.com/go-swagger/go-swagger/issues/546) -- Build failure when using principal flag. [\#544](https://github.com/go-swagger/go-swagger/issues/544) -- Code generated from spec file does not compile [\#540](https://github.com/go-swagger/go-swagger/issues/540) -- Add size variable init when slice size needs to be checked. [\#570](https://github.com/go-swagger/go-swagger/pull/570) ([vburenin](https://github.com/vburenin)) -- No validator code call for array items if they are other models. [\#524](https://github.com/go-swagger/go-swagger/issues/524) -- escaped slashes in path ids are incorrectly decoded [\#522](https://github.com/go-swagger/go-swagger/issues/522) -- Multipart form generates unnecessary variable that lead to compile error [\#511](https://github.com/go-swagger/go-swagger/issues/511) -- Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. [\#499](https://github.com/go-swagger/go-swagger/issues/499) -- Recursive definition causes stack overflow [\#483](https://github.com/go-swagger/go-swagger/issues/483) -- Fail and log on errors adding user-defined CLI flags [\#470](https://github.com/go-swagger/go-swagger/issues/470) -- Specification basePath is not respected [\#465](https://github.com/go-swagger/go-swagger/issues/465) -- Incorrect case in generated model code referencing model name [\#460](https://github.com/go-swagger/go-swagger/issues/460) -- Presence of required nested object is not validated [\#455](https://github.com/go-swagger/go-swagger/issues/455) -- Incorrectly generated Marshaller causes unlimited recursive Marshal calls [\#454](https://github.com/go-swagger/go-swagger/issues/454) -- Optional nested objects are not validated [\#453](https://github.com/go-swagger/go-swagger/issues/453) -- Swagger generate oauth2 scope [\#449](https://github.com/go-swagger/go-swagger/issues/449) -- Panic on form validation for mutlipart upload [\#438](https://github.com/go-swagger/go-swagger/issues/438) -- x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x [\#433](https://github.com/go-swagger/go-swagger/issues/433) -- Incorrect unmarshal code generated for polymorphic object parent [\#423](https://github.com/go-swagger/go-swagger/issues/423) +- Code gen: The go generate comment is missing required parameters [\#611](https://github.com/cloudentity/go-swagger/issues/611) +- Generated client panics trying to type-assert required string parameter [\#546](https://github.com/cloudentity/go-swagger/issues/546) +- Build failure when using principal flag. [\#544](https://github.com/cloudentity/go-swagger/issues/544) +- Code generated from spec file does not compile [\#540](https://github.com/cloudentity/go-swagger/issues/540) +- Add size variable init when slice size needs to be checked. [\#570](https://github.com/cloudentity/go-swagger/pull/570) ([vburenin](https://github.com/vburenin)) +- No validator code call for array items if they are other models. [\#524](https://github.com/cloudentity/go-swagger/issues/524) +- escaped slashes in path ids are incorrectly decoded [\#522](https://github.com/cloudentity/go-swagger/issues/522) +- Multipart form generates unnecessary variable that lead to compile error [\#511](https://github.com/cloudentity/go-swagger/issues/511) +- Negotiated content type producer uses DefaultProduces even when matched route does not have a "produces" for that type. [\#499](https://github.com/cloudentity/go-swagger/issues/499) +- Recursive definition causes stack overflow [\#483](https://github.com/cloudentity/go-swagger/issues/483) +- Fail and log on errors adding user-defined CLI flags [\#470](https://github.com/cloudentity/go-swagger/issues/470) +- Specification basePath is not respected [\#465](https://github.com/cloudentity/go-swagger/issues/465) +- Incorrect case in generated model code referencing model name [\#460](https://github.com/cloudentity/go-swagger/issues/460) +- Presence of required nested object is not validated [\#455](https://github.com/cloudentity/go-swagger/issues/455) +- Incorrectly generated Marshaller causes unlimited recursive Marshal calls [\#454](https://github.com/cloudentity/go-swagger/issues/454) +- Optional nested objects are not validated [\#453](https://github.com/cloudentity/go-swagger/issues/453) +- Swagger generate oauth2 scope [\#449](https://github.com/cloudentity/go-swagger/issues/449) +- Panic on form validation for mutlipart upload [\#438](https://github.com/cloudentity/go-swagger/issues/438) +- x-www-form-urlencoded cannot be consumed in go-swagger 0.5.x [\#433](https://github.com/cloudentity/go-swagger/issues/433) +- Incorrect unmarshal code generated for polymorphic object parent [\#423](https://github.com/cloudentity/go-swagger/issues/423) **Closed issues:** -- Rename Mutli-Status to Multi-Status [\#640](https://github.com/go-swagger/go-swagger/issues/640) -- Array property of payload not being included in response body [\#638](https://github.com/go-swagger/go-swagger/issues/638) -- godep not vendoring go-swagger package to API package [\#635](https://github.com/go-swagger/go-swagger/issues/635) -- Generated server returns error code when invoked with "-h" or "--help" [\#630](https://github.com/go-swagger/go-swagger/issues/630) -- Error while updating dependencies [\#627](https://github.com/go-swagger/go-swagger/issues/627) -- Generated code validation [\#625](https://github.com/go-swagger/go-swagger/issues/625) -- Generate spec looks up types in wrong package if there are several of the same name [\#608](https://github.com/go-swagger/go-swagger/issues/608) -- Add support for MapType in parseIdentProperty [\#601](https://github.com/go-swagger/go-swagger/issues/601) -- Code generator emits two variants of strfmt [\#598](https://github.com/go-swagger/go-swagger/issues/598) -- Add the ability to use a model as a response Body. [\#595](https://github.com/go-swagger/go-swagger/issues/595) -- accept header is invalid [\#586](https://github.com/go-swagger/go-swagger/issues/586) -- missing swag import [\#580](https://github.com/go-swagger/go-swagger/issues/580) -- --skip-struct outputs blank files [\#575](https://github.com/go-swagger/go-swagger/issues/575) -- Command Line Flags example [\#572](https://github.com/go-swagger/go-swagger/issues/572) -- swagger validate swgger.yml fail when I follow Todo-List tutorial [\#571](https://github.com/go-swagger/go-swagger/issues/571) -- No way of avoiding generating validations [\#568](https://github.com/go-swagger/go-swagger/issues/568) -- Embedding anonymous pointer causes error [\#563](https://github.com/go-swagger/go-swagger/issues/563) -- All Go builtin types should be supported [\#560](https://github.com/go-swagger/go-swagger/issues/560) -- swagger error, during import spc doc into swagger editor [\#555](https://github.com/go-swagger/go-swagger/issues/555) -- No access to original HTTP request in GET request [\#550](https://github.com/go-swagger/go-swagger/issues/550) -- DELETE operation with no body returns 415 unsupported media [\#548](https://github.com/go-swagger/go-swagger/issues/548) -- todolist example fails to compile. Also the generated and the example code has different imports, which is strange [\#538](https://github.com/go-swagger/go-swagger/issues/538) -- Question: usage with react using the fetch api is supported [\#531](https://github.com/go-swagger/go-swagger/issues/531) -- File downloads [\#515](https://github.com/go-swagger/go-swagger/issues/515) -- Swagger generate spec paths [\#510](https://github.com/go-swagger/go-swagger/issues/510) -- Add new param type: json [\#140](https://github.com/go-swagger/go-swagger/issues/140) -- Using user defined logger instead of fmt.Printf [\#528](https://github.com/go-swagger/go-swagger/issues/528) -- where is the spec validator tested [\#525](https://github.com/go-swagger/go-swagger/issues/525) -- Integer enum validation always fail [\#523](https://github.com/go-swagger/go-swagger/issues/523) -- Skip parameter fields with json tag `json:"-"` [\#520](https://github.com/go-swagger/go-swagger/issues/520) -- Typo multipart/form-data as "Mulitpart" [\#518](https://github.com/go-swagger/go-swagger/issues/518) -- Generate models for internal use only [\#516](https://github.com/go-swagger/go-swagger/issues/516) -- Parameters template bug leads to errors in header validation [\#494](https://github.com/go-swagger/go-swagger/issues/494) -- types don't match: expect map key string or int get: bool [\#490](https://github.com/go-swagger/go-swagger/issues/490) -- go swagger generated code is not fully golint-able [\#487](https://github.com/go-swagger/go-swagger/issues/487) -- Validator treats array in example as invalid data [\#478](https://github.com/go-swagger/go-swagger/issues/478) -- Unnecessary "required" validation for array items [\#472](https://github.com/go-swagger/go-swagger/issues/472) -- Add hints for the type names generated by swagger [\#471](https://github.com/go-swagger/go-swagger/issues/471) -- go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" [\#434](https://github.com/go-swagger/go-swagger/issues/434) -- Add a configuration layer for TLS. [\#430](https://github.com/go-swagger/go-swagger/issues/430) +- Rename Mutli-Status to Multi-Status [\#640](https://github.com/cloudentity/go-swagger/issues/640) +- Array property of payload not being included in response body [\#638](https://github.com/cloudentity/go-swagger/issues/638) +- godep not vendoring go-swagger package to API package [\#635](https://github.com/cloudentity/go-swagger/issues/635) +- Generated server returns error code when invoked with "-h" or "--help" [\#630](https://github.com/cloudentity/go-swagger/issues/630) +- Error while updating dependencies [\#627](https://github.com/cloudentity/go-swagger/issues/627) +- Generated code validation [\#625](https://github.com/cloudentity/go-swagger/issues/625) +- Generate spec looks up types in wrong package if there are several of the same name [\#608](https://github.com/cloudentity/go-swagger/issues/608) +- Add support for MapType in parseIdentProperty [\#601](https://github.com/cloudentity/go-swagger/issues/601) +- Code generator emits two variants of strfmt [\#598](https://github.com/cloudentity/go-swagger/issues/598) +- Add the ability to use a model as a response Body. [\#595](https://github.com/cloudentity/go-swagger/issues/595) +- accept header is invalid [\#586](https://github.com/cloudentity/go-swagger/issues/586) +- missing swag import [\#580](https://github.com/cloudentity/go-swagger/issues/580) +- --skip-struct outputs blank files [\#575](https://github.com/cloudentity/go-swagger/issues/575) +- Command Line Flags example [\#572](https://github.com/cloudentity/go-swagger/issues/572) +- swagger validate swgger.yml fail when I follow Todo-List tutorial [\#571](https://github.com/cloudentity/go-swagger/issues/571) +- No way of avoiding generating validations [\#568](https://github.com/cloudentity/go-swagger/issues/568) +- Embedding anonymous pointer causes error [\#563](https://github.com/cloudentity/go-swagger/issues/563) +- All Go builtin types should be supported [\#560](https://github.com/cloudentity/go-swagger/issues/560) +- swagger error, during import spc doc into swagger editor [\#555](https://github.com/cloudentity/go-swagger/issues/555) +- No access to original HTTP request in GET request [\#550](https://github.com/cloudentity/go-swagger/issues/550) +- DELETE operation with no body returns 415 unsupported media [\#548](https://github.com/cloudentity/go-swagger/issues/548) +- todolist example fails to compile. Also the generated and the example code has different imports, which is strange [\#538](https://github.com/cloudentity/go-swagger/issues/538) +- Question: usage with react using the fetch api is supported [\#531](https://github.com/cloudentity/go-swagger/issues/531) +- File downloads [\#515](https://github.com/cloudentity/go-swagger/issues/515) +- Swagger generate spec paths [\#510](https://github.com/cloudentity/go-swagger/issues/510) +- Add new param type: json [\#140](https://github.com/cloudentity/go-swagger/issues/140) +- Using user defined logger instead of fmt.Printf [\#528](https://github.com/cloudentity/go-swagger/issues/528) +- where is the spec validator tested [\#525](https://github.com/cloudentity/go-swagger/issues/525) +- Integer enum validation always fail [\#523](https://github.com/cloudentity/go-swagger/issues/523) +- Skip parameter fields with json tag `json:"-"` [\#520](https://github.com/cloudentity/go-swagger/issues/520) +- Typo multipart/form-data as "Mulitpart" [\#518](https://github.com/cloudentity/go-swagger/issues/518) +- Generate models for internal use only [\#516](https://github.com/cloudentity/go-swagger/issues/516) +- Parameters template bug leads to errors in header validation [\#494](https://github.com/cloudentity/go-swagger/issues/494) +- types don't match: expect map key string or int get: bool [\#490](https://github.com/cloudentity/go-swagger/issues/490) +- go swagger generated code is not fully golint-able [\#487](https://github.com/cloudentity/go-swagger/issues/487) +- Validator treats array in example as invalid data [\#478](https://github.com/cloudentity/go-swagger/issues/478) +- Unnecessary "required" validation for array items [\#472](https://github.com/cloudentity/go-swagger/issues/472) +- Add hints for the type names generated by swagger [\#471](https://github.com/cloudentity/go-swagger/issues/471) +- go-swagger v0.5.0 - cannot find package "golang.org/x/tools/go/buildutil" [\#434](https://github.com/cloudentity/go-swagger/issues/434) +- Add a configuration layer for TLS. [\#430](https://github.com/cloudentity/go-swagger/issues/430) **Merged pull requests:** -- Issue with embedded custom type [\#646](https://github.com/go-swagger/go-swagger/pull/646) ([gaplyk](https://github.com/gaplyk)) -- fix http status code mapping from internal [\#645](https://github.com/go-swagger/go-swagger/pull/645) ([casualjim](https://github.com/casualjim)) -- update deps [\#644](https://github.com/go-swagger/go-swagger/pull/644) ([casualjim](https://github.com/casualjim)) -- Tests for issue with maps [\#642](https://github.com/go-swagger/go-swagger/pull/642) ([gaplyk](https://github.com/gaplyk)) -- fix issue with map type [\#641](https://github.com/go-swagger/go-swagger/pull/641) ([gaplyk](https://github.com/gaplyk)) -- Fix scopes to be initialized to an empty array [\#637](https://github.com/go-swagger/go-swagger/pull/637) ([losinggeneration](https://github.com/losinggeneration)) -- Scan package [\#633](https://github.com/go-swagger/go-swagger/pull/633) ([casualjim](https://github.com/casualjim)) -- Runtime listeners [\#632](https://github.com/go-swagger/go-swagger/pull/632) ([casualjim](https://github.com/casualjim)) -- Dont error w/1 just b/c user asked for help text [\#631](https://github.com/go-swagger/go-swagger/pull/631) ([nelz9999](https://github.com/nelz9999)) -- revert changes to CLI params [\#629](https://github.com/go-swagger/go-swagger/pull/629) ([casualjim](https://github.com/casualjim)) -- Refactor JSON tag parsing [\#621](https://github.com/go-swagger/go-swagger/pull/621) ([bfirsh](https://github.com/bfirsh)) -- Fixed copy-pasted description. [\#620](https://github.com/go-swagger/go-swagger/pull/620) ([vburenin](https://github.com/vburenin)) -- Support json tags which don't set name [\#617](https://github.com/go-swagger/go-swagger/pull/617) ([bfirsh](https://github.com/bfirsh)) -- update readme \[ci skip\] [\#615](https://github.com/go-swagger/go-swagger/pull/615) ([casualjim](https://github.com/casualjim)) -- Resolve vendor [\#614](https://github.com/go-swagger/go-swagger/pull/614) ([casualjim](https://github.com/casualjim)) -- Unified CLI for go swagger. [\#612](https://github.com/go-swagger/go-swagger/pull/612) ([vburenin](https://github.com/vburenin)) -- Don't include indirection for interface types. [\#609](https://github.com/go-swagger/go-swagger/pull/609) ([Cl0udPhish](https://github.com/Cl0udPhish)) -- Gitbook \[ci skip\] [\#603](https://github.com/go-swagger/go-swagger/pull/603) ([casualjim](https://github.com/casualjim)) -- handle aliased types in scanner [\#602](https://github.com/go-swagger/go-swagger/pull/602) ([casualjim](https://github.com/casualjim)) -- Add the ability to use a model as a response. [\#596](https://github.com/go-swagger/go-swagger/pull/596) ([jjeffrey-bolste](https://github.com/jjeffrey-bolste)) -- Update spec repo [\#584](https://github.com/go-swagger/go-swagger/pull/584) ([casualjim](https://github.com/casualjim)) -- suffix validator only model generation with \_validator [\#579](https://github.com/go-swagger/go-swagger/pull/579) ([casualjim](https://github.com/casualjim)) -- Expose server handler which can be used for writing tests [\#577](https://github.com/go-swagger/go-swagger/pull/577) ([xiwenc](https://github.com/xiwenc)) -- actually render something [\#576](https://github.com/go-swagger/go-swagger/pull/576) ([casualjim](https://github.com/casualjim)) -- adds support for skip-struct on generate model [\#574](https://github.com/go-swagger/go-swagger/pull/574) ([casualjim](https://github.com/casualjim)) -- Command Line Flags Example [\#573](https://github.com/go-swagger/go-swagger/pull/573) ([nelz9999](https://github.com/nelz9999)) -- make validations optional for "generate model" command [\#569](https://github.com/go-swagger/go-swagger/pull/569) ([casualjim](https://github.com/casualjim)) -- fixes \#546, text no panic in marshaller for string pointer [\#567](https://github.com/go-swagger/go-swagger/pull/567) ([casualjim](https://github.com/casualjim)) -- wrap typed auth functions into function that returns an interface [\#566](https://github.com/go-swagger/go-swagger/pull/566) ([casualjim](https://github.com/casualjim)) -- fixes \#515, support streaming responses in the client [\#565](https://github.com/go-swagger/go-swagger/pull/565) ([casualjim](https://github.com/casualjim)) -- Fix issue \#563 Added StarExpr in parseEmbeddedType [\#564](https://github.com/go-swagger/go-swagger/pull/564) ([zasran](https://github.com/zasran)) -- Fix issue \#560 Go builtin support [\#562](https://github.com/go-swagger/go-swagger/pull/562) ([zasran](https://github.com/zasran)) -- fixes \#550 always render and use parameters [\#558](https://github.com/go-swagger/go-swagger/pull/558) ([casualjim](https://github.com/casualjim)) -- fixes yml for todolist example [\#556](https://github.com/go-swagger/go-swagger/pull/556) ([casualjim](https://github.com/casualjim)) -- adds jlexer and jwriter from easyjson [\#553](https://github.com/go-swagger/go-swagger/pull/553) ([casualjim](https://github.com/casualjim)) -- adds bitset library [\#552](https://github.com/go-swagger/go-swagger/pull/552) ([casualjim](https://github.com/casualjim)) -- update go-flags [\#551](https://github.com/go-swagger/go-swagger/pull/551) ([casualjim](https://github.com/casualjim)) -- make request timeout configurable for client [\#534](https://github.com/go-swagger/go-swagger/pull/534) ([casualjim](https://github.com/casualjim)) -- Release 0.5.9 [\#532](https://github.com/go-swagger/go-swagger/pull/532) ([casualjim](https://github.com/casualjim)) -- Added possibility for users to defined their custom logger. [\#529](https://github.com/go-swagger/go-swagger/pull/529) ([vburenin](https://github.com/vburenin)) -- update vendored packages [\#527](https://github.com/go-swagger/go-swagger/pull/527) ([casualjim](https://github.com/casualjim)) -- Fixed bug for not generated validator call if there is an array of complex objects. [\#526](https://github.com/go-swagger/go-swagger/pull/526) ([vburenin](https://github.com/vburenin)) -- skip fields in parameter structs with struct tag `json:"-"` [\#521](https://github.com/go-swagger/go-swagger/pull/521) ([jlburkhead](https://github.com/jlburkhead)) -- Fix typo mulit vs multi [\#519](https://github.com/go-swagger/go-swagger/pull/519) ([fiorix](https://github.com/fiorix)) -- add support for oauth2 to generator [\#517](https://github.com/go-swagger/go-swagger/pull/517) ([casualjim](https://github.com/casualjim)) -- fail on invalid command line definition [\#514](https://github.com/go-swagger/go-swagger/pull/514) ([casualjim](https://github.com/casualjim)) -- remove unused param var [\#513](https://github.com/go-swagger/go-swagger/pull/513) ([casualjim](https://github.com/casualjim)) -- update context, imports, swag, runtime, loads and govalidator [\#512](https://github.com/go-swagger/go-swagger/pull/512) ([casualjim](https://github.com/casualjim)) -- Add support for strfmt.MAC [\#509](https://github.com/go-swagger/go-swagger/pull/509) ([tzneal](https://github.com/tzneal)) -- Put params fix [\#508](https://github.com/go-swagger/go-swagger/pull/508) ([ivan1993spb](https://github.com/ivan1993spb)) -- Added missing wait for the client generator. [\#507](https://github.com/go-swagger/go-swagger/pull/507) ([casualjim](https://github.com/casualjim)) -- Leveraging Go goroutings to speed up generation process in multicore environment. [\#504](https://github.com/go-swagger/go-swagger/pull/504) ([vburenin](https://github.com/vburenin)) -- Removed redundant code. Less JSON parsing. Speedups on many things in… [\#503](https://github.com/go-swagger/go-swagger/pull/503) ([vburenin](https://github.com/vburenin)) -- Combined fix of 453 and 455 bugs. [\#502](https://github.com/go-swagger/go-swagger/pull/502) ([vburenin](https://github.com/vburenin)) -- Prevents parsing structs that are needed when parsing dicovered schemas [\#498](https://github.com/go-swagger/go-swagger/pull/498) ([seanbrant](https://github.com/seanbrant)) -- Add missed go code generation for \#494 [\#497](https://github.com/go-swagger/go-swagger/pull/497) ([galaxie](https://github.com/galaxie)) -- Use canonicalized keys to retrieve values from http.Request.Header [\#495](https://github.com/go-swagger/go-swagger/pull/495) ([galaxie](https://github.com/galaxie)) -- Pascalize method arguments in client operations - fixes \#487 [\#488](https://github.com/go-swagger/go-swagger/pull/488) ([MStoykov](https://github.com/MStoykov)) -- 420 package refactor [\#486](https://github.com/go-swagger/go-swagger/pull/486) ([casualjim](https://github.com/casualjim)) -- move analysis out of spec package [\#485](https://github.com/go-swagger/go-swagger/pull/485) ([casualjim](https://github.com/casualjim)) -- generator: Use a JSON decoder with UseNumber enabled for unmarshaling [\#482](https://github.com/go-swagger/go-swagger/pull/482) ([chancez](https://github.com/chancez)) -- updates unmarshal for discriminated types as property [\#480](https://github.com/go-swagger/go-swagger/pull/480) ([casualjim](https://github.com/casualjim)) -- second part of bugfix [\#479](https://github.com/go-swagger/go-swagger/pull/479) ([casualjim](https://github.com/casualjim)) -- validate items more often [\#475](https://github.com/go-swagger/go-swagger/pull/475) ([casualjim](https://github.com/casualjim)) -- Use cache as it is designed to be used, not as it is actually used. [\#474](https://github.com/go-swagger/go-swagger/pull/474) ([vburenin](https://github.com/vburenin)) -- Required flag is reset for array items. [\#473](https://github.com/go-swagger/go-swagger/pull/473) ([vburenin](https://github.com/vburenin)) -- fix appveyor builds [\#468](https://github.com/go-swagger/go-swagger/pull/468) ([casualjim](https://github.com/casualjim)) -- generator: fix package assumption on server generation [\#467](https://github.com/go-swagger/go-swagger/pull/467) ([jwmaag](https://github.com/jwmaag)) -- Use spec BasePath when it is non-empty. [\#466](https://github.com/go-swagger/go-swagger/pull/466) ([nikhilm](https://github.com/nikhilm)) -- fix some issues with additional properties generation [\#461](https://github.com/go-swagger/go-swagger/pull/461) ([casualjim](https://github.com/casualjim)) -- X nullable first [\#459](https://github.com/go-swagger/go-swagger/pull/459) ([vburenin](https://github.com/vburenin)) -- Fix https://github.com/go-swagger/go-swagger/issues/449 [\#451](https://github.com/go-swagger/go-swagger/pull/451) ([galeone](https://github.com/galeone)) -- Add validation required fix and corresponding package tests [\#450](https://github.com/go-swagger/go-swagger/pull/450) ([galaxie](https://github.com/galaxie)) -- Fixed bug in httpkit/client/runtime.go Submit\(\) [\#448](https://github.com/go-swagger/go-swagger/pull/448) ([ritchida](https://github.com/ritchida)) -- also exclude models/handlers in the client [\#447](https://github.com/go-swagger/go-swagger/pull/447) ([casualjim](https://github.com/casualjim)) -- add discard consumer/producer for http mimes [\#443](https://github.com/go-swagger/go-swagger/pull/443) ([casualjim](https://github.com/casualjim)) -- add note to readme about homebrew package [\#441](https://github.com/go-swagger/go-swagger/pull/441) ([casualjim](https://github.com/casualjim)) -- Fix typo \(defintion -\> definition\) [\#440](https://github.com/go-swagger/go-swagger/pull/440) ([flavioribeiro](https://github.com/flavioribeiro)) -- Improve error message [\#437](https://github.com/go-swagger/go-swagger/pull/437) ([abclogin](https://github.com/abclogin)) -- Bring back build util [\#435](https://github.com/go-swagger/go-swagger/pull/435) ([casualjim](https://github.com/casualjim)) -- Added user hook to config TLS layer. [\#432](https://github.com/go-swagger/go-swagger/pull/432) ([vburenin](https://github.com/vburenin)) -- \[wip\] once and for all work out the rules for pointing to things [\#431](https://github.com/go-swagger/go-swagger/pull/431) ([casualjim](https://github.com/casualjim)) -- disables code coverage for automated builds for a while [\#429](https://github.com/go-swagger/go-swagger/pull/429) ([casualjim](https://github.com/casualjim)) -- Fixes some issues with empty bodies [\#428](https://github.com/go-swagger/go-swagger/pull/428) ([casualjim](https://github.com/casualjim)) -- Improve error message [\#427](https://github.com/go-swagger/go-swagger/pull/427) ([abclogin](https://github.com/abclogin)) -- fix default produces [\#424](https://github.com/go-swagger/go-swagger/pull/424) ([casualjim](https://github.com/casualjim)) -- increase circle ci default timeout [\#419](https://github.com/go-swagger/go-swagger/pull/419) ([pytlesk4](https://github.com/pytlesk4)) +- Issue with embedded custom type [\#646](https://github.com/cloudentity/go-swagger/pull/646) ([gaplyk](https://github.com/gaplyk)) +- fix http status code mapping from internal [\#645](https://github.com/cloudentity/go-swagger/pull/645) ([casualjim](https://github.com/casualjim)) +- update deps [\#644](https://github.com/cloudentity/go-swagger/pull/644) ([casualjim](https://github.com/casualjim)) +- Tests for issue with maps [\#642](https://github.com/cloudentity/go-swagger/pull/642) ([gaplyk](https://github.com/gaplyk)) +- fix issue with map type [\#641](https://github.com/cloudentity/go-swagger/pull/641) ([gaplyk](https://github.com/gaplyk)) +- Fix scopes to be initialized to an empty array [\#637](https://github.com/cloudentity/go-swagger/pull/637) ([losinggeneration](https://github.com/losinggeneration)) +- Scan package [\#633](https://github.com/cloudentity/go-swagger/pull/633) ([casualjim](https://github.com/casualjim)) +- Runtime listeners [\#632](https://github.com/cloudentity/go-swagger/pull/632) ([casualjim](https://github.com/casualjim)) +- Dont error w/1 just b/c user asked for help text [\#631](https://github.com/cloudentity/go-swagger/pull/631) ([nelz9999](https://github.com/nelz9999)) +- revert changes to CLI params [\#629](https://github.com/cloudentity/go-swagger/pull/629) ([casualjim](https://github.com/casualjim)) +- Refactor JSON tag parsing [\#621](https://github.com/cloudentity/go-swagger/pull/621) ([bfirsh](https://github.com/bfirsh)) +- Fixed copy-pasted description. [\#620](https://github.com/cloudentity/go-swagger/pull/620) ([vburenin](https://github.com/vburenin)) +- Support json tags which don't set name [\#617](https://github.com/cloudentity/go-swagger/pull/617) ([bfirsh](https://github.com/bfirsh)) +- update readme \[ci skip\] [\#615](https://github.com/cloudentity/go-swagger/pull/615) ([casualjim](https://github.com/casualjim)) +- Resolve vendor [\#614](https://github.com/cloudentity/go-swagger/pull/614) ([casualjim](https://github.com/casualjim)) +- Unified CLI for go swagger. [\#612](https://github.com/cloudentity/go-swagger/pull/612) ([vburenin](https://github.com/vburenin)) +- Don't include indirection for interface types. [\#609](https://github.com/cloudentity/go-swagger/pull/609) ([Cl0udPhish](https://github.com/Cl0udPhish)) +- Gitbook \[ci skip\] [\#603](https://github.com/cloudentity/go-swagger/pull/603) ([casualjim](https://github.com/casualjim)) +- handle aliased types in scanner [\#602](https://github.com/cloudentity/go-swagger/pull/602) ([casualjim](https://github.com/casualjim)) +- Add the ability to use a model as a response. [\#596](https://github.com/cloudentity/go-swagger/pull/596) ([jjeffrey-bolste](https://github.com/jjeffrey-bolste)) +- Update spec repo [\#584](https://github.com/cloudentity/go-swagger/pull/584) ([casualjim](https://github.com/casualjim)) +- suffix validator only model generation with \_validator [\#579](https://github.com/cloudentity/go-swagger/pull/579) ([casualjim](https://github.com/casualjim)) +- Expose server handler which can be used for writing tests [\#577](https://github.com/cloudentity/go-swagger/pull/577) ([xiwenc](https://github.com/xiwenc)) +- actually render something [\#576](https://github.com/cloudentity/go-swagger/pull/576) ([casualjim](https://github.com/casualjim)) +- adds support for skip-struct on generate model [\#574](https://github.com/cloudentity/go-swagger/pull/574) ([casualjim](https://github.com/casualjim)) +- Command Line Flags Example [\#573](https://github.com/cloudentity/go-swagger/pull/573) ([nelz9999](https://github.com/nelz9999)) +- make validations optional for "generate model" command [\#569](https://github.com/cloudentity/go-swagger/pull/569) ([casualjim](https://github.com/casualjim)) +- fixes \#546, text no panic in marshaller for string pointer [\#567](https://github.com/cloudentity/go-swagger/pull/567) ([casualjim](https://github.com/casualjim)) +- wrap typed auth functions into function that returns an interface [\#566](https://github.com/cloudentity/go-swagger/pull/566) ([casualjim](https://github.com/casualjim)) +- fixes \#515, support streaming responses in the client [\#565](https://github.com/cloudentity/go-swagger/pull/565) ([casualjim](https://github.com/casualjim)) +- Fix issue \#563 Added StarExpr in parseEmbeddedType [\#564](https://github.com/cloudentity/go-swagger/pull/564) ([zasran](https://github.com/zasran)) +- Fix issue \#560 Go builtin support [\#562](https://github.com/cloudentity/go-swagger/pull/562) ([zasran](https://github.com/zasran)) +- fixes \#550 always render and use parameters [\#558](https://github.com/cloudentity/go-swagger/pull/558) ([casualjim](https://github.com/casualjim)) +- fixes yml for todolist example [\#556](https://github.com/cloudentity/go-swagger/pull/556) ([casualjim](https://github.com/casualjim)) +- adds jlexer and jwriter from easyjson [\#553](https://github.com/cloudentity/go-swagger/pull/553) ([casualjim](https://github.com/casualjim)) +- adds bitset library [\#552](https://github.com/cloudentity/go-swagger/pull/552) ([casualjim](https://github.com/casualjim)) +- update go-flags [\#551](https://github.com/cloudentity/go-swagger/pull/551) ([casualjim](https://github.com/casualjim)) +- make request timeout configurable for client [\#534](https://github.com/cloudentity/go-swagger/pull/534) ([casualjim](https://github.com/casualjim)) +- Release 0.5.9 [\#532](https://github.com/cloudentity/go-swagger/pull/532) ([casualjim](https://github.com/casualjim)) +- Added possibility for users to defined their custom logger. [\#529](https://github.com/cloudentity/go-swagger/pull/529) ([vburenin](https://github.com/vburenin)) +- update vendored packages [\#527](https://github.com/cloudentity/go-swagger/pull/527) ([casualjim](https://github.com/casualjim)) +- Fixed bug for not generated validator call if there is an array of complex objects. [\#526](https://github.com/cloudentity/go-swagger/pull/526) ([vburenin](https://github.com/vburenin)) +- skip fields in parameter structs with struct tag `json:"-"` [\#521](https://github.com/cloudentity/go-swagger/pull/521) ([jlburkhead](https://github.com/jlburkhead)) +- Fix typo mulit vs multi [\#519](https://github.com/cloudentity/go-swagger/pull/519) ([fiorix](https://github.com/fiorix)) +- add support for oauth2 to generator [\#517](https://github.com/cloudentity/go-swagger/pull/517) ([casualjim](https://github.com/casualjim)) +- fail on invalid command line definition [\#514](https://github.com/cloudentity/go-swagger/pull/514) ([casualjim](https://github.com/casualjim)) +- remove unused param var [\#513](https://github.com/cloudentity/go-swagger/pull/513) ([casualjim](https://github.com/casualjim)) +- update context, imports, swag, runtime, loads and govalidator [\#512](https://github.com/cloudentity/go-swagger/pull/512) ([casualjim](https://github.com/casualjim)) +- Add support for strfmt.MAC [\#509](https://github.com/cloudentity/go-swagger/pull/509) ([tzneal](https://github.com/tzneal)) +- Put params fix [\#508](https://github.com/cloudentity/go-swagger/pull/508) ([ivan1993spb](https://github.com/ivan1993spb)) +- Added missing wait for the client generator. [\#507](https://github.com/cloudentity/go-swagger/pull/507) ([casualjim](https://github.com/casualjim)) +- Leveraging Go goroutings to speed up generation process in multicore environment. [\#504](https://github.com/cloudentity/go-swagger/pull/504) ([vburenin](https://github.com/vburenin)) +- Removed redundant code. Less JSON parsing. Speedups on many things in… [\#503](https://github.com/cloudentity/go-swagger/pull/503) ([vburenin](https://github.com/vburenin)) +- Combined fix of 453 and 455 bugs. [\#502](https://github.com/cloudentity/go-swagger/pull/502) ([vburenin](https://github.com/vburenin)) +- Prevents parsing structs that are needed when parsing dicovered schemas [\#498](https://github.com/cloudentity/go-swagger/pull/498) ([seanbrant](https://github.com/seanbrant)) +- Add missed go code generation for \#494 [\#497](https://github.com/cloudentity/go-swagger/pull/497) ([galaxie](https://github.com/galaxie)) +- Use canonicalized keys to retrieve values from http.Request.Header [\#495](https://github.com/cloudentity/go-swagger/pull/495) ([galaxie](https://github.com/galaxie)) +- Pascalize method arguments in client operations - fixes \#487 [\#488](https://github.com/cloudentity/go-swagger/pull/488) ([MStoykov](https://github.com/MStoykov)) +- 420 package refactor [\#486](https://github.com/cloudentity/go-swagger/pull/486) ([casualjim](https://github.com/casualjim)) +- move analysis out of spec package [\#485](https://github.com/cloudentity/go-swagger/pull/485) ([casualjim](https://github.com/casualjim)) +- generator: Use a JSON decoder with UseNumber enabled for unmarshaling [\#482](https://github.com/cloudentity/go-swagger/pull/482) ([chancez](https://github.com/chancez)) +- updates unmarshal for discriminated types as property [\#480](https://github.com/cloudentity/go-swagger/pull/480) ([casualjim](https://github.com/casualjim)) +- second part of bugfix [\#479](https://github.com/cloudentity/go-swagger/pull/479) ([casualjim](https://github.com/casualjim)) +- validate items more often [\#475](https://github.com/cloudentity/go-swagger/pull/475) ([casualjim](https://github.com/casualjim)) +- Use cache as it is designed to be used, not as it is actually used. [\#474](https://github.com/cloudentity/go-swagger/pull/474) ([vburenin](https://github.com/vburenin)) +- Required flag is reset for array items. [\#473](https://github.com/cloudentity/go-swagger/pull/473) ([vburenin](https://github.com/vburenin)) +- fix appveyor builds [\#468](https://github.com/cloudentity/go-swagger/pull/468) ([casualjim](https://github.com/casualjim)) +- generator: fix package assumption on server generation [\#467](https://github.com/cloudentity/go-swagger/pull/467) ([jwmaag](https://github.com/jwmaag)) +- Use spec BasePath when it is non-empty. [\#466](https://github.com/cloudentity/go-swagger/pull/466) ([nikhilm](https://github.com/nikhilm)) +- fix some issues with additional properties generation [\#461](https://github.com/cloudentity/go-swagger/pull/461) ([casualjim](https://github.com/casualjim)) +- X nullable first [\#459](https://github.com/cloudentity/go-swagger/pull/459) ([vburenin](https://github.com/vburenin)) +- Fix https://github.com/cloudentity/go-swagger/issues/449 [\#451](https://github.com/cloudentity/go-swagger/pull/451) ([galeone](https://github.com/galeone)) +- Add validation required fix and corresponding package tests [\#450](https://github.com/cloudentity/go-swagger/pull/450) ([galaxie](https://github.com/galaxie)) +- Fixed bug in httpkit/client/runtime.go Submit\(\) [\#448](https://github.com/cloudentity/go-swagger/pull/448) ([ritchida](https://github.com/ritchida)) +- also exclude models/handlers in the client [\#447](https://github.com/cloudentity/go-swagger/pull/447) ([casualjim](https://github.com/casualjim)) +- add discard consumer/producer for http mimes [\#443](https://github.com/cloudentity/go-swagger/pull/443) ([casualjim](https://github.com/casualjim)) +- add note to readme about homebrew package [\#441](https://github.com/cloudentity/go-swagger/pull/441) ([casualjim](https://github.com/casualjim)) +- Fix typo \(defintion -\> definition\) [\#440](https://github.com/cloudentity/go-swagger/pull/440) ([flavioribeiro](https://github.com/flavioribeiro)) +- Improve error message [\#437](https://github.com/cloudentity/go-swagger/pull/437) ([abclogin](https://github.com/abclogin)) +- Bring back build util [\#435](https://github.com/cloudentity/go-swagger/pull/435) ([casualjim](https://github.com/casualjim)) +- Added user hook to config TLS layer. [\#432](https://github.com/cloudentity/go-swagger/pull/432) ([vburenin](https://github.com/vburenin)) +- \[wip\] once and for all work out the rules for pointing to things [\#431](https://github.com/cloudentity/go-swagger/pull/431) ([casualjim](https://github.com/casualjim)) +- disables code coverage for automated builds for a while [\#429](https://github.com/cloudentity/go-swagger/pull/429) ([casualjim](https://github.com/casualjim)) +- Fixes some issues with empty bodies [\#428](https://github.com/cloudentity/go-swagger/pull/428) ([casualjim](https://github.com/casualjim)) +- Improve error message [\#427](https://github.com/cloudentity/go-swagger/pull/427) ([abclogin](https://github.com/abclogin)) +- fix default produces [\#424](https://github.com/cloudentity/go-swagger/pull/424) ([casualjim](https://github.com/casualjim)) +- increase circle ci default timeout [\#419](https://github.com/cloudentity/go-swagger/pull/419) ([pytlesk4](https://github.com/pytlesk4)) diff --git a/notes/v0.7.0.md b/notes/v0.7.0.md index ec0ed1406..363bc10bb 100644 --- a/notes/v0.7.0.md +++ b/notes/v0.7.0.md @@ -1,7 +1,7 @@ # Change Log -## [0.7.0](https://github.com/go-swagger/go-swagger/tree/0.7.0) (2016-10-09) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.6.0...0.7.0) +## [0.7.0](https://github.com/cloudentity/go-swagger/tree/0.7.0) (2016-10-09) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.6.0...0.7.0) **Implemented enhancements:** @@ -10,28 +10,28 @@ **Closed issues:** -- Can't install swagger command in Go 1.6. [\#679](https://github.com/go-swagger/go-swagger/issues/679) -- Generating a model from an inline response schema [\#676](https://github.com/go-swagger/go-swagger/issues/676) -- No way to generate type `int` \(always uses `int64`\) [\#675](https://github.com/go-swagger/go-swagger/issues/675) -- Question: After set authentication , CROS handler doesn't work [\#663](https://github.com/go-swagger/go-swagger/issues/663) -- Swagger\_linux\_amd64 does not match master branch of go-swagger [\#647](https://github.com/go-swagger/go-swagger/issues/647) +- Can't install swagger command in Go 1.6. [\#679](https://github.com/cloudentity/go-swagger/issues/679) +- Generating a model from an inline response schema [\#676](https://github.com/cloudentity/go-swagger/issues/676) +- No way to generate type `int` \(always uses `int64`\) [\#675](https://github.com/cloudentity/go-swagger/issues/675) +- Question: After set authentication , CROS handler doesn't work [\#663](https://github.com/cloudentity/go-swagger/issues/663) +- Swagger\_linux\_amd64 does not match master branch of go-swagger [\#647](https://github.com/cloudentity/go-swagger/issues/647) **Merged pull requests:** -- add a command to serve a docs ui [\#683](https://github.com/go-swagger/go-swagger/pull/683) ([casualjim](https://github.com/casualjim)) -- Allow x-nullable for nested models [\#682](https://github.com/go-swagger/go-swagger/pull/682) ([dnephin](https://github.com/dnephin)) -- Multi success for client [\#681](https://github.com/go-swagger/go-swagger/pull/681) ([casualjim](https://github.com/casualjim)) -- Bug fixes for generating operation models [\#680](https://github.com/go-swagger/go-swagger/pull/680) ([dnephin](https://github.com/dnephin)) -- add a NewXxxParamsWithContext method to the generated client [\#677](https://github.com/go-swagger/go-swagger/pull/677) ([casualjim](https://github.com/casualjim)) -- Make the template for schematype and structfield more readable. [\#674](https://github.com/go-swagger/go-swagger/pull/674) ([dnephin](https://github.com/dnephin)) -- Ignore embedded structs with tag json:"-" [\#672](https://github.com/go-swagger/go-swagger/pull/672) ([gaplyk](https://github.com/gaplyk)) -- Fix appveyor [\#671](https://github.com/go-swagger/go-swagger/pull/671) ([casualjim](https://github.com/casualjim)) -- Default https host before mutating it. [\#666](https://github.com/go-swagger/go-swagger/pull/666) ([eicca](https://github.com/eicca)) -- adds a context method to the api builder [\#664](https://github.com/go-swagger/go-swagger/pull/664) ([casualjim](https://github.com/casualjim)) -- Example project for a generating a streaming server [\#662](https://github.com/go-swagger/go-swagger/pull/662) ([nelz9999](https://github.com/nelz9999)) -- add constants for string enums [\#660](https://github.com/go-swagger/go-swagger/pull/660) ([rgarcia](https://github.com/rgarcia)) -- Gen layout configfile [\#658](https://github.com/go-swagger/go-swagger/pull/658) ([casualjim](https://github.com/casualjim)) -- Correcting typo [\#657](https://github.com/go-swagger/go-swagger/pull/657) ([nathj07](https://github.com/nathj07)) -- adds viper to vendor [\#655](https://github.com/go-swagger/go-swagger/pull/655) ([casualjim](https://github.com/casualjim)) -- Fix up server logs [\#652](https://github.com/go-swagger/go-swagger/pull/652) ([CJTozer](https://github.com/CJTozer)) +- add a command to serve a docs ui [\#683](https://github.com/cloudentity/go-swagger/pull/683) ([casualjim](https://github.com/casualjim)) +- Allow x-nullable for nested models [\#682](https://github.com/cloudentity/go-swagger/pull/682) ([dnephin](https://github.com/dnephin)) +- Multi success for client [\#681](https://github.com/cloudentity/go-swagger/pull/681) ([casualjim](https://github.com/casualjim)) +- Bug fixes for generating operation models [\#680](https://github.com/cloudentity/go-swagger/pull/680) ([dnephin](https://github.com/dnephin)) +- add a NewXxxParamsWithContext method to the generated client [\#677](https://github.com/cloudentity/go-swagger/pull/677) ([casualjim](https://github.com/casualjim)) +- Make the template for schematype and structfield more readable. [\#674](https://github.com/cloudentity/go-swagger/pull/674) ([dnephin](https://github.com/dnephin)) +- Ignore embedded structs with tag json:"-" [\#672](https://github.com/cloudentity/go-swagger/pull/672) ([gaplyk](https://github.com/gaplyk)) +- Fix appveyor [\#671](https://github.com/cloudentity/go-swagger/pull/671) ([casualjim](https://github.com/casualjim)) +- Default https host before mutating it. [\#666](https://github.com/cloudentity/go-swagger/pull/666) ([eicca](https://github.com/eicca)) +- adds a context method to the api builder [\#664](https://github.com/cloudentity/go-swagger/pull/664) ([casualjim](https://github.com/casualjim)) +- Example project for a generating a streaming server [\#662](https://github.com/cloudentity/go-swagger/pull/662) ([nelz9999](https://github.com/nelz9999)) +- add constants for string enums [\#660](https://github.com/cloudentity/go-swagger/pull/660) ([rgarcia](https://github.com/rgarcia)) +- Gen layout configfile [\#658](https://github.com/cloudentity/go-swagger/pull/658) ([casualjim](https://github.com/casualjim)) +- Correcting typo [\#657](https://github.com/cloudentity/go-swagger/pull/657) ([nathj07](https://github.com/nathj07)) +- adds viper to vendor [\#655](https://github.com/cloudentity/go-swagger/pull/655) ([casualjim](https://github.com/casualjim)) +- Fix up server logs [\#652](https://github.com/cloudentity/go-swagger/pull/652) ([CJTozer](https://github.com/CJTozer)) diff --git a/notes/v0.7.1.md b/notes/v0.7.1.md index 4c63714dc..a4c2a3671 100644 --- a/notes/v0.7.1.md +++ b/notes/v0.7.1.md @@ -1,7 +1,7 @@ # Change Log -## [0.7.1](https://github.com/go-swagger/go-swagger/tree/0.7.1) (2016-10-10) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.7.0...0.7.1) +## [0.7.1](https://github.com/cloudentity/go-swagger/tree/0.7.1) (2016-10-10) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.7.0...0.7.1) **Implemented enhancements:** @@ -10,29 +10,29 @@ **Closed issues:** -- `swagger validate` raise an error [\#684](https://github.com/go-swagger/go-swagger/issues/684) -- Can't install swagger command in Go 1.6. [\#679](https://github.com/go-swagger/go-swagger/issues/679) -- Generating a model from an inline response schema [\#676](https://github.com/go-swagger/go-swagger/issues/676) -- No way to generate type `int` \(always uses `int64`\) [\#675](https://github.com/go-swagger/go-swagger/issues/675) -- Question: After set authentication , CROS handler doesn't work [\#663](https://github.com/go-swagger/go-swagger/issues/663) -- Swagger\_linux\_amd64 does not match master branch of go-swagger [\#647](https://github.com/go-swagger/go-swagger/issues/647) +- `swagger validate` raise an error [\#684](https://github.com/cloudentity/go-swagger/issues/684) +- Can't install swagger command in Go 1.6. [\#679](https://github.com/cloudentity/go-swagger/issues/679) +- Generating a model from an inline response schema [\#676](https://github.com/cloudentity/go-swagger/issues/676) +- No way to generate type `int` \(always uses `int64`\) [\#675](https://github.com/cloudentity/go-swagger/issues/675) +- Question: After set authentication , CROS handler doesn't work [\#663](https://github.com/cloudentity/go-swagger/issues/663) +- Swagger\_linux\_amd64 does not match master branch of go-swagger [\#647](https://github.com/cloudentity/go-swagger/issues/647) **Merged pull requests:** -- add a command to serve a docs ui [\#683](https://github.com/go-swagger/go-swagger/pull/683) ([casualjim](https://github.com/casualjim)) -- Allow x-nullable for nested models [\#682](https://github.com/go-swagger/go-swagger/pull/682) ([dnephin](https://github.com/dnephin)) -- Multi success for client [\#681](https://github.com/go-swagger/go-swagger/pull/681) ([casualjim](https://github.com/casualjim)) -- Bug fixes for generating operation models [\#680](https://github.com/go-swagger/go-swagger/pull/680) ([dnephin](https://github.com/dnephin)) -- add a NewXxxParamsWithContext method to the generated client [\#677](https://github.com/go-swagger/go-swagger/pull/677) ([casualjim](https://github.com/casualjim)) -- Make the template for schematype and structfield more readable. [\#674](https://github.com/go-swagger/go-swagger/pull/674) ([dnephin](https://github.com/dnephin)) -- Ignore embedded structs with tag json:"-" [\#672](https://github.com/go-swagger/go-swagger/pull/672) ([gaplyk](https://github.com/gaplyk)) -- Fix appveyor [\#671](https://github.com/go-swagger/go-swagger/pull/671) ([casualjim](https://github.com/casualjim)) -- Default https host before mutating it. [\#666](https://github.com/go-swagger/go-swagger/pull/666) ([eicca](https://github.com/eicca)) -- adds a context method to the api builder [\#664](https://github.com/go-swagger/go-swagger/pull/664) ([casualjim](https://github.com/casualjim)) -- Example project for a generating a streaming server [\#662](https://github.com/go-swagger/go-swagger/pull/662) ([nelz9999](https://github.com/nelz9999)) -- add constants for string enums [\#660](https://github.com/go-swagger/go-swagger/pull/660) ([rgarcia](https://github.com/rgarcia)) -- Gen layout configfile [\#658](https://github.com/go-swagger/go-swagger/pull/658) ([casualjim](https://github.com/casualjim)) -- Correcting typo [\#657](https://github.com/go-swagger/go-swagger/pull/657) ([nathj07](https://github.com/nathj07)) -- adds viper to vendor [\#655](https://github.com/go-swagger/go-swagger/pull/655) ([casualjim](https://github.com/casualjim)) -- Fix up server logs [\#652](https://github.com/go-swagger/go-swagger/pull/652) ([CJTozer](https://github.com/CJTozer)) +- add a command to serve a docs ui [\#683](https://github.com/cloudentity/go-swagger/pull/683) ([casualjim](https://github.com/casualjim)) +- Allow x-nullable for nested models [\#682](https://github.com/cloudentity/go-swagger/pull/682) ([dnephin](https://github.com/dnephin)) +- Multi success for client [\#681](https://github.com/cloudentity/go-swagger/pull/681) ([casualjim](https://github.com/casualjim)) +- Bug fixes for generating operation models [\#680](https://github.com/cloudentity/go-swagger/pull/680) ([dnephin](https://github.com/dnephin)) +- add a NewXxxParamsWithContext method to the generated client [\#677](https://github.com/cloudentity/go-swagger/pull/677) ([casualjim](https://github.com/casualjim)) +- Make the template for schematype and structfield more readable. [\#674](https://github.com/cloudentity/go-swagger/pull/674) ([dnephin](https://github.com/dnephin)) +- Ignore embedded structs with tag json:"-" [\#672](https://github.com/cloudentity/go-swagger/pull/672) ([gaplyk](https://github.com/gaplyk)) +- Fix appveyor [\#671](https://github.com/cloudentity/go-swagger/pull/671) ([casualjim](https://github.com/casualjim)) +- Default https host before mutating it. [\#666](https://github.com/cloudentity/go-swagger/pull/666) ([eicca](https://github.com/eicca)) +- adds a context method to the api builder [\#664](https://github.com/cloudentity/go-swagger/pull/664) ([casualjim](https://github.com/casualjim)) +- Example project for a generating a streaming server [\#662](https://github.com/cloudentity/go-swagger/pull/662) ([nelz9999](https://github.com/nelz9999)) +- add constants for string enums [\#660](https://github.com/cloudentity/go-swagger/pull/660) ([rgarcia](https://github.com/rgarcia)) +- Gen layout configfile [\#658](https://github.com/cloudentity/go-swagger/pull/658) ([casualjim](https://github.com/casualjim)) +- Correcting typo [\#657](https://github.com/cloudentity/go-swagger/pull/657) ([nathj07](https://github.com/nathj07)) +- adds viper to vendor [\#655](https://github.com/cloudentity/go-swagger/pull/655) ([casualjim](https://github.com/casualjim)) +- Fix up server logs [\#652](https://github.com/cloudentity/go-swagger/pull/652) ([CJTozer](https://github.com/CJTozer)) diff --git a/notes/v0.7.2.md b/notes/v0.7.2.md index 3a5d295fe..3ad54cb2e 100644 --- a/notes/v0.7.2.md +++ b/notes/v0.7.2.md @@ -1,13 +1,13 @@ # Change Log -## [0.7.2](https://github.com/go-swagger/go-swagger/tree/0.7.2) (2016-10-11) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.7.1...0.7.2) +## [0.7.2](https://github.com/cloudentity/go-swagger/tree/0.7.2) (2016-10-11) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.7.1...0.7.2) **Closed issues:** -- configure\_xxx.go file gets overwritten everytime. [\#687](https://github.com/go-swagger/go-swagger/issues/687) +- configure\_xxx.go file gets overwritten everytime. [\#687](https://github.com/cloudentity/go-swagger/issues/687) **Merged pull requests:** -- normalize the filename to honor skip\_exists config property [\#688](https://github.com/go-swagger/go-swagger/pull/688) ([casualjim](https://github.com/casualjim)) -- generate constants for string enum properties [\#686](https://github.com/go-swagger/go-swagger/pull/686) ([rgarcia](https://github.com/rgarcia)) +- normalize the filename to honor skip\_exists config property [\#688](https://github.com/cloudentity/go-swagger/pull/688) ([casualjim](https://github.com/casualjim)) +- generate constants for string enum properties [\#686](https://github.com/cloudentity/go-swagger/pull/686) ([rgarcia](https://github.com/rgarcia)) diff --git a/notes/v0.7.3.md b/notes/v0.7.3.md index b0fa739d2..b84e80635 100644 --- a/notes/v0.7.3.md +++ b/notes/v0.7.3.md @@ -1,33 +1,33 @@ # Change Log -## [0.7.3](https://github.com/go-swagger/go-swagger/tree/0.7.3) (2016-10-20) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.7.2...0.7.3) +## [0.7.3](https://github.com/cloudentity/go-swagger/tree/0.7.3) (2016-10-20) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.7.2...0.7.3) **Implemented enhancements:** -- pretty print the generated spec [\#698](https://github.com/go-swagger/go-swagger/issues/698) -- consider swagger:strfmt on a property comment as a valid override [\#694](https://github.com/go-swagger/go-swagger/issues/694) +- pretty print the generated spec [\#698](https://github.com/cloudentity/go-swagger/issues/698) +- consider swagger:strfmt on a property comment as a valid override [\#694](https://github.com/cloudentity/go-swagger/issues/694) **Fixed bugs:** -- timeout conflicts with property named timeout in client gen [\#702](https://github.com/go-swagger/go-swagger/issues/702) -- Swagger 0.6.0 reports invalid version [\#650](https://github.com/go-swagger/go-swagger/issues/650) +- timeout conflicts with property named timeout in client gen [\#702](https://github.com/cloudentity/go-swagger/issues/702) +- Swagger 0.6.0 reports invalid version [\#650](https://github.com/cloudentity/go-swagger/issues/650) **Closed issues:** -- restapi/operations/delete\_user\_name.go:51: undefined: https [\#700](https://github.com/go-swagger/go-swagger/issues/700) -- \[0.7.2\] `generate model` does not generate anything [\#692](https://github.com/go-swagger/go-swagger/issues/692) -- How to use context.Context from middleware [\#492](https://github.com/go-swagger/go-swagger/issues/492) -- How to access swagger path/request URL from within handler [\#395](https://github.com/go-swagger/go-swagger/issues/395) +- restapi/operations/delete\_user\_name.go:51: undefined: https [\#700](https://github.com/cloudentity/go-swagger/issues/700) +- \[0.7.2\] `generate model` does not generate anything [\#692](https://github.com/cloudentity/go-swagger/issues/692) +- How to use context.Context from middleware [\#492](https://github.com/cloudentity/go-swagger/issues/492) +- How to access swagger path/request URL from within handler [\#395](https://github.com/cloudentity/go-swagger/issues/395) **Merged pull requests:** -- fix name collision for timeout field in client operation [\#703](https://github.com/go-swagger/go-swagger/pull/703) ([casualjim](https://github.com/casualjim)) -- add a --compact flag and pretty print by default [\#699](https://github.com/go-swagger/go-swagger/pull/699) ([casualjim](https://github.com/casualjim)) -- Update vendor and regen samples [\#697](https://github.com/go-swagger/go-swagger/pull/697) ([casualjim](https://github.com/casualjim)) -- Use in-line comments for structfield and struct [\#696](https://github.com/go-swagger/go-swagger/pull/696) ([dnephin](https://github.com/dnephin)) -- Parse embedded swagger:strfmt tags [\#695](https://github.com/go-swagger/go-swagger/pull/695) ([jredville](https://github.com/jredville)) -- fix model and operation generator command [\#693](https://github.com/go-swagger/go-swagger/pull/693) ([casualjim](https://github.com/casualjim)) -- Fix skip flags [\#691](https://github.com/go-swagger/go-swagger/pull/691) ([dnephin](https://github.com/dnephin)) -- Remove old drone hack scripts and config [\#690](https://github.com/go-swagger/go-swagger/pull/690) ([dnephin](https://github.com/dnephin)) -- Fix issue with empty schema [\#689](https://github.com/go-swagger/go-swagger/pull/689) ([gaplyk](https://github.com/gaplyk)) +- fix name collision for timeout field in client operation [\#703](https://github.com/cloudentity/go-swagger/pull/703) ([casualjim](https://github.com/casualjim)) +- add a --compact flag and pretty print by default [\#699](https://github.com/cloudentity/go-swagger/pull/699) ([casualjim](https://github.com/casualjim)) +- Update vendor and regen samples [\#697](https://github.com/cloudentity/go-swagger/pull/697) ([casualjim](https://github.com/casualjim)) +- Use in-line comments for structfield and struct [\#696](https://github.com/cloudentity/go-swagger/pull/696) ([dnephin](https://github.com/dnephin)) +- Parse embedded swagger:strfmt tags [\#695](https://github.com/cloudentity/go-swagger/pull/695) ([jredville](https://github.com/jredville)) +- fix model and operation generator command [\#693](https://github.com/cloudentity/go-swagger/pull/693) ([casualjim](https://github.com/casualjim)) +- Fix skip flags [\#691](https://github.com/cloudentity/go-swagger/pull/691) ([dnephin](https://github.com/dnephin)) +- Remove old drone hack scripts and config [\#690](https://github.com/cloudentity/go-swagger/pull/690) ([dnephin](https://github.com/dnephin)) +- Fix issue with empty schema [\#689](https://github.com/cloudentity/go-swagger/pull/689) ([gaplyk](https://github.com/gaplyk)) diff --git a/notes/v0.7.4.md b/notes/v0.7.4.md index 3314f7f59..2bb5aadcb 100644 --- a/notes/v0.7.4.md +++ b/notes/v0.7.4.md @@ -1,40 +1,40 @@ # Change Log -## [0.7.4](https://github.com/go-swagger/go-swagger/tree/0.7.4) (2016-11-07) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.7.3...0.7.4) +## [0.7.4](https://github.com/cloudentity/go-swagger/tree/0.7.4) (2016-11-07) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.7.3...0.7.4) **Implemented enhancements:** -- Document when authentication mechanisms apply in generated code [\#720](https://github.com/go-swagger/go-swagger/issues/720) -- can't distinguish between an empty array and null array for non-required array fields [\#707](https://github.com/go-swagger/go-swagger/issues/707) -- x-go-name not respected in "swagger generate model" [\#701](https://github.com/go-swagger/go-swagger/issues/701) +- Document when authentication mechanisms apply in generated code [\#720](https://github.com/cloudentity/go-swagger/issues/720) +- can't distinguish between an empty array and null array for non-required array fields [\#707](https://github.com/cloudentity/go-swagger/issues/707) +- x-go-name not respected in "swagger generate model" [\#701](https://github.com/cloudentity/go-swagger/issues/701) **Fixed bugs:** -- Generate source doesn't compile if parameter name is type [\#710](https://github.com/go-swagger/go-swagger/issues/710) -- Some word cannot be used as field of properties in object definition [\#704](https://github.com/go-swagger/go-swagger/issues/704) -- uuid cannot be converted to string [\#628](https://github.com/go-swagger/go-swagger/issues/628) -- Concurrency issue on the validation code for string enums [\#545](https://github.com/go-swagger/go-swagger/issues/545) -- vendor extensions not respected [\#402](https://github.com/go-swagger/go-swagger/issues/402) -- Not possible to put the definitions in a separate YAML file [\#358](https://github.com/go-swagger/go-swagger/issues/358) -- Code generation changes depending on how swagger files are organized. [\#331](https://github.com/go-swagger/go-swagger/issues/331) +- Generate source doesn't compile if parameter name is type [\#710](https://github.com/cloudentity/go-swagger/issues/710) +- Some word cannot be used as field of properties in object definition [\#704](https://github.com/cloudentity/go-swagger/issues/704) +- uuid cannot be converted to string [\#628](https://github.com/cloudentity/go-swagger/issues/628) +- Concurrency issue on the validation code for string enums [\#545](https://github.com/cloudentity/go-swagger/issues/545) +- vendor extensions not respected [\#402](https://github.com/cloudentity/go-swagger/issues/402) +- Not possible to put the definitions in a separate YAML file [\#358](https://github.com/cloudentity/go-swagger/issues/358) +- Code generation changes depending on how swagger files are organized. [\#331](https://github.com/cloudentity/go-swagger/issues/331) **Closed issues:** -- Is it possible to do the reverse routing? [\#714](https://github.com/go-swagger/go-swagger/issues/714) -- Can access original request object in handlers [\#491](https://github.com/go-swagger/go-swagger/issues/491) +- Is it possible to do the reverse routing? [\#714](https://github.com/cloudentity/go-swagger/issues/714) +- Can access original request object in handlers [\#491](https://github.com/cloudentity/go-swagger/issues/491) **Merged pull requests:** -- verifies support of strfmt and nested collections in parameters [\#725](https://github.com/go-swagger/go-swagger/pull/725) ([casualjim](https://github.com/casualjim)) -- better auth help text [\#724](https://github.com/go-swagger/go-swagger/pull/724) ([casualjim](https://github.com/casualjim)) -- reverse routing [\#723](https://github.com/go-swagger/go-swagger/pull/723) ([casualjim](https://github.com/casualjim)) -- update vendored deps [\#722](https://github.com/go-swagger/go-swagger/pull/722) ([casualjim](https://github.com/casualjim)) -- don't use omitempty on array fields [\#716](https://github.com/go-swagger/go-swagger/pull/716) ([rgarcia](https://github.com/rgarcia)) -- updates vendor [\#715](https://github.com/go-swagger/go-swagger/pull/715) ([casualjim](https://github.com/casualjim)) -- Support x-go-name in code generation [\#713](https://github.com/go-swagger/go-swagger/pull/713) ([dnephin](https://github.com/dnephin)) -- mangle var names [\#712](https://github.com/go-swagger/go-swagger/pull/712) ([casualjim](https://github.com/casualjim)) -- port fix rare race with enums \(@bfreis\) [\#709](https://github.com/go-swagger/go-swagger/pull/709) ([casualjim](https://github.com/casualjim)) -- 702 fix timeout [\#708](https://github.com/go-swagger/go-swagger/pull/708) ([casualjim](https://github.com/casualjim)) +- verifies support of strfmt and nested collections in parameters [\#725](https://github.com/cloudentity/go-swagger/pull/725) ([casualjim](https://github.com/casualjim)) +- better auth help text [\#724](https://github.com/cloudentity/go-swagger/pull/724) ([casualjim](https://github.com/casualjim)) +- reverse routing [\#723](https://github.com/cloudentity/go-swagger/pull/723) ([casualjim](https://github.com/casualjim)) +- update vendored deps [\#722](https://github.com/cloudentity/go-swagger/pull/722) ([casualjim](https://github.com/casualjim)) +- don't use omitempty on array fields [\#716](https://github.com/cloudentity/go-swagger/pull/716) ([rgarcia](https://github.com/rgarcia)) +- updates vendor [\#715](https://github.com/cloudentity/go-swagger/pull/715) ([casualjim](https://github.com/casualjim)) +- Support x-go-name in code generation [\#713](https://github.com/cloudentity/go-swagger/pull/713) ([dnephin](https://github.com/dnephin)) +- mangle var names [\#712](https://github.com/cloudentity/go-swagger/pull/712) ([casualjim](https://github.com/casualjim)) +- port fix rare race with enums \(@bfreis\) [\#709](https://github.com/cloudentity/go-swagger/pull/709) ([casualjim](https://github.com/casualjim)) +- 702 fix timeout [\#708](https://github.com/cloudentity/go-swagger/pull/708) ([casualjim](https://github.com/casualjim)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/notes/v0.8.0.md b/notes/v0.8.0.md index 7c8b91292..5b85d9be6 100644 --- a/notes/v0.8.0.md +++ b/notes/v0.8.0.md @@ -1,81 +1,81 @@ # Change Log -## [0.8.0](https://github.com/go-swagger/go-swagger/tree/0.8.0) (2016-12-23) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.7.4...0.8.0) +## [0.8.0](https://github.com/cloudentity/go-swagger/tree/0.8.0) (2016-12-23) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.7.4...0.8.0) **Implemented enhancements:** -- Add server-side support for mutual tls [\#802](https://github.com/go-swagger/go-swagger/issues/802) -- Add support for pflag as alternative to go-flags [\#797](https://github.com/go-swagger/go-swagger/issues/797) -- Maintain parameter sequence in parameters scanner [\#768](https://github.com/go-swagger/go-swagger/issues/768) -- Configure TLS [\#685](https://github.com/go-swagger/go-swagger/issues/685) -- validate failing with interface is spec.Schema, not spec.Response while generate succeeds [\#594](https://github.com/go-swagger/go-swagger/issues/594) -- Support enum in parameters scanner [\#245](https://github.com/go-swagger/go-swagger/issues/245) -- Support default value in parameters scanner [\#244](https://github.com/go-swagger/go-swagger/issues/244) -- add oauth2 support in the client [\#185](https://github.com/go-swagger/go-swagger/issues/185) -- optimize tls config for server [\#799](https://github.com/go-swagger/go-swagger/pull/799) ([casualjim](https://github.com/casualjim)) +- Add server-side support for mutual tls [\#802](https://github.com/cloudentity/go-swagger/issues/802) +- Add support for pflag as alternative to go-flags [\#797](https://github.com/cloudentity/go-swagger/issues/797) +- Maintain parameter sequence in parameters scanner [\#768](https://github.com/cloudentity/go-swagger/issues/768) +- Configure TLS [\#685](https://github.com/cloudentity/go-swagger/issues/685) +- validate failing with interface is spec.Schema, not spec.Response while generate succeeds [\#594](https://github.com/cloudentity/go-swagger/issues/594) +- Support enum in parameters scanner [\#245](https://github.com/cloudentity/go-swagger/issues/245) +- Support default value in parameters scanner [\#244](https://github.com/cloudentity/go-swagger/issues/244) +- add oauth2 support in the client [\#185](https://github.com/cloudentity/go-swagger/issues/185) +- optimize tls config for server [\#799](https://github.com/cloudentity/go-swagger/pull/799) ([casualjim](https://github.com/casualjim)) **Fixed bugs:** -- client uuid/string type mismatch [\#789](https://github.com/go-swagger/go-swagger/issues/789) -- Definition field name not showing when string pattern validation failed, if use $ref to reference another one in defintions [\#767](https://github.com/go-swagger/go-swagger/issues/767) -- If Swagger spec doesn't include a definition schema reference in a response, the generated client returns nil [\#749](https://github.com/go-swagger/go-swagger/issues/749) -- The reverse routing doesn't support basePath [\#742](https://github.com/go-swagger/go-swagger/issues/742) -- Generator makes consts generated from a swagger enum as internal to a package [\#739](https://github.com/go-swagger/go-swagger/issues/739) -- Client Generator - uuid to string [\#731](https://github.com/go-swagger/go-swagger/issues/731) -- illegal byte order mark [\#727](https://github.com/go-swagger/go-swagger/issues/727) -- `validate` failing with out of memory error [\#605](https://github.com/go-swagger/go-swagger/issues/605) -- Log message for unsupported type is misleading. [\#600](https://github.com/go-swagger/go-swagger/issues/600) -- Possible unintended result of inheritance [\#541](https://github.com/go-swagger/go-swagger/issues/541) -- stack overflow on recursive circular ancestors [\#537](https://github.com/go-swagger/go-swagger/issues/537) -- duplicate operationId not detected [\#536](https://github.com/go-swagger/go-swagger/issues/536) -- master gets parsing error where 0.5.0 handles correctly [\#535](https://github.com/go-swagger/go-swagger/issues/535) -- Validation: invalid patterns in parameters are not detected [\#530](https://github.com/go-swagger/go-swagger/issues/530) -- invalid character 'ï' looking for beginning of value [\#496](https://github.com/go-swagger/go-swagger/issues/496) -- Code generation fails for definition with allOf and local schema [\#436](https://github.com/go-swagger/go-swagger/issues/436) -- Struct parsing cause an error: unable to resolve embedded struct for... [\#390](https://github.com/go-swagger/go-swagger/issues/390) -- generate spec for embedded struct: unknown primitive [\#241](https://github.com/go-swagger/go-swagger/issues/241) -- Code gen: how to return empty json array [\#718](https://github.com/go-swagger/go-swagger/pull/718) ([cmhakkim](https://github.com/cmhakkim)) +- client uuid/string type mismatch [\#789](https://github.com/cloudentity/go-swagger/issues/789) +- Definition field name not showing when string pattern validation failed, if use $ref to reference another one in defintions [\#767](https://github.com/cloudentity/go-swagger/issues/767) +- If Swagger spec doesn't include a definition schema reference in a response, the generated client returns nil [\#749](https://github.com/cloudentity/go-swagger/issues/749) +- The reverse routing doesn't support basePath [\#742](https://github.com/cloudentity/go-swagger/issues/742) +- Generator makes consts generated from a swagger enum as internal to a package [\#739](https://github.com/cloudentity/go-swagger/issues/739) +- Client Generator - uuid to string [\#731](https://github.com/cloudentity/go-swagger/issues/731) +- illegal byte order mark [\#727](https://github.com/cloudentity/go-swagger/issues/727) +- `validate` failing with out of memory error [\#605](https://github.com/cloudentity/go-swagger/issues/605) +- Log message for unsupported type is misleading. [\#600](https://github.com/cloudentity/go-swagger/issues/600) +- Possible unintended result of inheritance [\#541](https://github.com/cloudentity/go-swagger/issues/541) +- stack overflow on recursive circular ancestors [\#537](https://github.com/cloudentity/go-swagger/issues/537) +- duplicate operationId not detected [\#536](https://github.com/cloudentity/go-swagger/issues/536) +- master gets parsing error where 0.5.0 handles correctly [\#535](https://github.com/cloudentity/go-swagger/issues/535) +- Validation: invalid patterns in parameters are not detected [\#530](https://github.com/cloudentity/go-swagger/issues/530) +- invalid character 'ï' looking for beginning of value [\#496](https://github.com/cloudentity/go-swagger/issues/496) +- Code generation fails for definition with allOf and local schema [\#436](https://github.com/cloudentity/go-swagger/issues/436) +- Struct parsing cause an error: unable to resolve embedded struct for... [\#390](https://github.com/cloudentity/go-swagger/issues/390) +- generate spec for embedded struct: unknown primitive [\#241](https://github.com/cloudentity/go-swagger/issues/241) +- Code gen: how to return empty json array [\#718](https://github.com/cloudentity/go-swagger/pull/718) ([cmhakkim](https://github.com/cmhakkim)) **Closed issues:** -- Support array type validation for $ref definitions [\#805](https://github.com/go-swagger/go-swagger/issues/805) -- Invalid enum validation check [\#804](https://github.com/go-swagger/go-swagger/issues/804) -- Question: How to include all operations? [\#800](https://github.com/go-swagger/go-swagger/issues/800) -- Some links on readme are broken [\#794](https://github.com/go-swagger/go-swagger/issues/794) -- Error types are not correctly generated \(should not use pointer\) [\#783](https://github.com/go-swagger/go-swagger/issues/783) -- NSwag is generating strange types [\#764](https://github.com/go-swagger/go-swagger/issues/764) -- Possible conflicts with vendor'ed code? [\#756](https://github.com/go-swagger/go-swagger/issues/756) -- Should generate strfmt.DateTime as a pointer? [\#746](https://github.com/go-swagger/go-swagger/issues/746) -- Partial response with generated server using discriminator [\#743](https://github.com/go-swagger/go-swagger/issues/743) -- Is it possible to suppress the default value for a date-time filed? [\#736](https://github.com/go-swagger/go-swagger/issues/736) -- \[Question\] How to set cookies from server side [\#728](https://github.com/go-swagger/go-swagger/issues/728) +- Support array type validation for $ref definitions [\#805](https://github.com/cloudentity/go-swagger/issues/805) +- Invalid enum validation check [\#804](https://github.com/cloudentity/go-swagger/issues/804) +- Question: How to include all operations? [\#800](https://github.com/cloudentity/go-swagger/issues/800) +- Some links on readme are broken [\#794](https://github.com/cloudentity/go-swagger/issues/794) +- Error types are not correctly generated \(should not use pointer\) [\#783](https://github.com/cloudentity/go-swagger/issues/783) +- NSwag is generating strange types [\#764](https://github.com/cloudentity/go-swagger/issues/764) +- Possible conflicts with vendor'ed code? [\#756](https://github.com/cloudentity/go-swagger/issues/756) +- Should generate strfmt.DateTime as a pointer? [\#746](https://github.com/cloudentity/go-swagger/issues/746) +- Partial response with generated server using discriminator [\#743](https://github.com/cloudentity/go-swagger/issues/743) +- Is it possible to suppress the default value for a date-time filed? [\#736](https://github.com/cloudentity/go-swagger/issues/736) +- \[Question\] How to set cookies from server side [\#728](https://github.com/cloudentity/go-swagger/issues/728) **Merged pull requests:** -- fix 805-support-array-type-validation-for-aliased-definition [\#808](https://github.com/go-swagger/go-swagger/pull/808) ([Simon-Li](https://github.com/Simon-Li)) -- add test for issue 789 [\#806](https://github.com/go-swagger/go-swagger/pull/806) ([casualjim](https://github.com/casualjim)) -- add support for mutual tls auth [\#803](https://github.com/go-swagger/go-swagger/pull/803) ([casualjim](https://github.com/casualjim)) -- Revert "fix \#767: field-name-not-showing-if-using-ref" [\#801](https://github.com/go-swagger/go-swagger/pull/801) ([casualjim](https://github.com/casualjim)) -- support pflag in addition to go-flags for the server [\#798](https://github.com/go-swagger/go-swagger/pull/798) ([casualjim](https://github.com/casualjim)) -- fix \#767: field-name-not-showing-if-using-ref [\#792](https://github.com/go-swagger/go-swagger/pull/792) ([Simon-Li](https://github.com/Simon-Li)) -- Support description tags in responses and support description as the … [\#788](https://github.com/go-swagger/go-swagger/pull/788) ([clawconduce](https://github.com/clawconduce)) -- Added hook to configure servers on user side. [\#784](https://github.com/go-swagger/go-swagger/pull/784) ([vburenin](https://github.com/vburenin)) -- Generate ReadCloser for request parameters instead of Writer. [\#780](https://github.com/go-swagger/go-swagger/pull/780) ([vburenin](https://github.com/vburenin)) -- Issue \#738: Support descriptions on responses that use definitions [\#777](https://github.com/go-swagger/go-swagger/pull/777) ([clawconduce](https://github.com/clawconduce)) -- 244 245 enums defaults for parameters \[quick implementation\] [\#772](https://github.com/go-swagger/go-swagger/pull/772) ([McSwitch](https://github.com/McSwitch)) -- fixed parameters sequence issue [\#771](https://github.com/go-swagger/go-swagger/pull/771) ([McSwitch](https://github.com/McSwitch)) -- Adds support for `\[\]\*Foo` to the other types [\#766](https://github.com/go-swagger/go-swagger/pull/766) ([jredville](https://github.com/jredville)) -- Adds support for parsing `\[\]\*Foo` in parameters [\#765](https://github.com/go-swagger/go-swagger/pull/765) ([jredville](https://github.com/jredville)) -- fixes a number of issues with allOf [\#760](https://github.com/go-swagger/go-swagger/pull/760) ([casualjim](https://github.com/casualjim)) -- dedupe properties in discriminated types [\#759](https://github.com/go-swagger/go-swagger/pull/759) ([casualjim](https://github.com/casualjim)) -- strip BOM from descriptions [\#758](https://github.com/go-swagger/go-swagger/pull/758) ([casualjim](https://github.com/casualjim)) -- expose more configuration options for generated server [\#757](https://github.com/go-swagger/go-swagger/pull/757) ([casualjim](https://github.com/casualjim)) -- allow for complete config of tls config outside of arguments [\#755](https://github.com/go-swagger/go-swagger/pull/755) ([casualjim](https://github.com/casualjim)) -- take base path into account for the url builder [\#750](https://github.com/go-swagger/go-swagger/pull/750) ([casualjim](https://github.com/casualjim)) -- Export enums [\#741](https://github.com/go-swagger/go-swagger/pull/741) ([casualjim](https://github.com/casualjim)) -- client-path-param custom format fix [\#737](https://github.com/go-swagger/go-swagger/pull/737) ([casualjim](https://github.com/casualjim)) -- add support for overriding http client per request [\#735](https://github.com/go-swagger/go-swagger/pull/735) ([casualjim](https://github.com/casualjim)) +- fix 805-support-array-type-validation-for-aliased-definition [\#808](https://github.com/cloudentity/go-swagger/pull/808) ([Simon-Li](https://github.com/Simon-Li)) +- add test for issue 789 [\#806](https://github.com/cloudentity/go-swagger/pull/806) ([casualjim](https://github.com/casualjim)) +- add support for mutual tls auth [\#803](https://github.com/cloudentity/go-swagger/pull/803) ([casualjim](https://github.com/casualjim)) +- Revert "fix \#767: field-name-not-showing-if-using-ref" [\#801](https://github.com/cloudentity/go-swagger/pull/801) ([casualjim](https://github.com/casualjim)) +- support pflag in addition to go-flags for the server [\#798](https://github.com/cloudentity/go-swagger/pull/798) ([casualjim](https://github.com/casualjim)) +- fix \#767: field-name-not-showing-if-using-ref [\#792](https://github.com/cloudentity/go-swagger/pull/792) ([Simon-Li](https://github.com/Simon-Li)) +- Support description tags in responses and support description as the … [\#788](https://github.com/cloudentity/go-swagger/pull/788) ([clawconduce](https://github.com/clawconduce)) +- Added hook to configure servers on user side. [\#784](https://github.com/cloudentity/go-swagger/pull/784) ([vburenin](https://github.com/vburenin)) +- Generate ReadCloser for request parameters instead of Writer. [\#780](https://github.com/cloudentity/go-swagger/pull/780) ([vburenin](https://github.com/vburenin)) +- Issue \#738: Support descriptions on responses that use definitions [\#777](https://github.com/cloudentity/go-swagger/pull/777) ([clawconduce](https://github.com/clawconduce)) +- 244 245 enums defaults for parameters \[quick implementation\] [\#772](https://github.com/cloudentity/go-swagger/pull/772) ([McSwitch](https://github.com/McSwitch)) +- fixed parameters sequence issue [\#771](https://github.com/cloudentity/go-swagger/pull/771) ([McSwitch](https://github.com/McSwitch)) +- Adds support for `\[\]\*Foo` to the other types [\#766](https://github.com/cloudentity/go-swagger/pull/766) ([jredville](https://github.com/jredville)) +- Adds support for parsing `\[\]\*Foo` in parameters [\#765](https://github.com/cloudentity/go-swagger/pull/765) ([jredville](https://github.com/jredville)) +- fixes a number of issues with allOf [\#760](https://github.com/cloudentity/go-swagger/pull/760) ([casualjim](https://github.com/casualjim)) +- dedupe properties in discriminated types [\#759](https://github.com/cloudentity/go-swagger/pull/759) ([casualjim](https://github.com/casualjim)) +- strip BOM from descriptions [\#758](https://github.com/cloudentity/go-swagger/pull/758) ([casualjim](https://github.com/casualjim)) +- expose more configuration options for generated server [\#757](https://github.com/cloudentity/go-swagger/pull/757) ([casualjim](https://github.com/casualjim)) +- allow for complete config of tls config outside of arguments [\#755](https://github.com/cloudentity/go-swagger/pull/755) ([casualjim](https://github.com/casualjim)) +- take base path into account for the url builder [\#750](https://github.com/cloudentity/go-swagger/pull/750) ([casualjim](https://github.com/casualjim)) +- Export enums [\#741](https://github.com/cloudentity/go-swagger/pull/741) ([casualjim](https://github.com/casualjim)) +- client-path-param custom format fix [\#737](https://github.com/cloudentity/go-swagger/pull/737) ([casualjim](https://github.com/casualjim)) +- add support for overriding http client per request [\#735](https://github.com/cloudentity/go-swagger/pull/735) ([casualjim](https://github.com/casualjim)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/notes/v0.9.0.md b/notes/v0.9.0.md index a7142c564..014adbb2e 100644 --- a/notes/v0.9.0.md +++ b/notes/v0.9.0.md @@ -1,138 +1,138 @@ # Change Log -## [0.9.0](https://github.com/go-swagger/go-swagger/tree/0.9.0) (2017-04-09) -[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.8.0...0.9.0) +## [0.9.0](https://github.com/cloudentity/go-swagger/tree/0.9.0) (2017-04-09) +[Full Changelog](https://github.com/cloudentity/go-swagger/compare/0.8.0...0.9.0) **Implemented enhancements:** -- Allow Bypassing FormatContent on Render [\#894](https://github.com/go-swagger/go-swagger/issues/894) -- tutorial needed on how to generate a service using kvstore as an example [\#889](https://github.com/go-swagger/go-swagger/issues/889) -- support bash/zsh autocompletion for swagger [\#886](https://github.com/go-swagger/go-swagger/issues/886) -- validate spec before generating, with opt-out option [\#825](https://github.com/go-swagger/go-swagger/issues/825) -- Improve Defaults of Server \(API\) Configuration [\#810](https://github.com/go-swagger/go-swagger/issues/810) -- Support new `operation` annotation [\#793](https://github.com/go-swagger/go-swagger/issues/793) -- Complete swagger:route generator based on full OpenAPI router spec [\#790](https://github.com/go-swagger/go-swagger/issues/790) -- Question: Is it possible to use existing type instead of generated model? [\#778](https://github.com/go-swagger/go-swagger/issues/778) -- Couldn't find swag.DateTime\(strfmt.DateTime\) \*strfmt.DateTime [\#734](https://github.com/go-swagger/go-swagger/issues/734) -- How to implement URLs to resources? [\#604](https://github.com/go-swagger/go-swagger/issues/604) -- Generate an url builder method for every resource path [\#119](https://github.com/go-swagger/go-swagger/issues/119) -- validate spec prior to gen. client/server [\#852](https://github.com/go-swagger/go-swagger/pull/852) ([GlenDC](https://github.com/GlenDC)) -- add HTTPClient parameter functions [\#849](https://github.com/go-swagger/go-swagger/pull/849) ([GlenDC](https://github.com/GlenDC)) +- Allow Bypassing FormatContent on Render [\#894](https://github.com/cloudentity/go-swagger/issues/894) +- tutorial needed on how to generate a service using kvstore as an example [\#889](https://github.com/cloudentity/go-swagger/issues/889) +- support bash/zsh autocompletion for swagger [\#886](https://github.com/cloudentity/go-swagger/issues/886) +- validate spec before generating, with opt-out option [\#825](https://github.com/cloudentity/go-swagger/issues/825) +- Improve Defaults of Server \(API\) Configuration [\#810](https://github.com/cloudentity/go-swagger/issues/810) +- Support new `operation` annotation [\#793](https://github.com/cloudentity/go-swagger/issues/793) +- Complete swagger:route generator based on full OpenAPI router spec [\#790](https://github.com/cloudentity/go-swagger/issues/790) +- Question: Is it possible to use existing type instead of generated model? [\#778](https://github.com/cloudentity/go-swagger/issues/778) +- Couldn't find swag.DateTime\(strfmt.DateTime\) \*strfmt.DateTime [\#734](https://github.com/cloudentity/go-swagger/issues/734) +- How to implement URLs to resources? [\#604](https://github.com/cloudentity/go-swagger/issues/604) +- Generate an url builder method for every resource path [\#119](https://github.com/cloudentity/go-swagger/issues/119) +- validate spec prior to gen. client/server [\#852](https://github.com/cloudentity/go-swagger/pull/852) ([GlenDC](https://github.com/GlenDC)) +- add HTTPClient parameter functions [\#849](https://github.com/cloudentity/go-swagger/pull/849) ([GlenDC](https://github.com/GlenDC)) **Fixed bugs:** -- Path parameters not unescaped correctly [\#928](https://github.com/go-swagger/go-swagger/issues/928) -- routing issue when path param name contains a dash [\#907](https://github.com/go-swagger/go-swagger/issues/907) -- path params not always set to required:true [\#905](https://github.com/go-swagger/go-swagger/issues/905) -- Path not found error for endpoint with trailing slash [\#899](https://github.com/go-swagger/go-swagger/issues/899) -- Flattened spec does not validate. [\#898](https://github.com/go-swagger/go-swagger/issues/898) -- Generating array in response-header fails [\#881](https://github.com/go-swagger/go-swagger/issues/881) -- Spec generation examples and documentation does not match [\#879](https://github.com/go-swagger/go-swagger/issues/879) -- don't allow empty items in spec in resolveSimpleType [\#875](https://github.com/go-swagger/go-swagger/issues/875) -- root path `/` operations cannot be found in generated serverapi [\#870](https://github.com/go-swagger/go-swagger/issues/870) -- Debugging generated client at runtime [\#862](https://github.com/go-swagger/go-swagger/issues/862) -- Mistype [\#853](https://github.com/go-swagger/go-swagger/issues/853) -- Type using allOf in generate server has broken MarshalJSON and UnmarshalJSON in 0.8.0 [\#847](https://github.com/go-swagger/go-swagger/issues/847) -- responses dont have a stable order [\#846](https://github.com/go-swagger/go-swagger/issues/846) -- Wrong field selectors are generated when using allOf in response schema definition [\#844](https://github.com/go-swagger/go-swagger/issues/844) -- Model compilation problems when `additionalProperties: true` [\#822](https://github.com/go-swagger/go-swagger/issues/822) -- unresolvable blank format, generates in swagger-codegen, created repo with results [\#811](https://github.com/go-swagger/go-swagger/issues/811) -- Parameter names with brackets fail to generate valid Go variables [\#809](https://github.com/go-swagger/go-swagger/issues/809) -- Client gen not respecting `--tags` parameters [\#795](https://github.com/go-swagger/go-swagger/issues/795) -- Incorrect Validation generated for object field [\#786](https://github.com/go-swagger/go-swagger/issues/786) -- Can't reference definition from file in same directory [\#776](https://github.com/go-swagger/go-swagger/issues/776) -- baseImport doesn't handle case-insensitive paths on windows properly [\#775](https://github.com/go-swagger/go-swagger/issues/775) -- Model property default values not effective on server side processing [\#769](https://github.com/go-swagger/go-swagger/issues/769) -- Validation code for lists of int32s with minimum/maximum inside object fails to compile [\#763](https://github.com/go-swagger/go-swagger/issues/763) -- Server returns 405 Method not allowed instead of 404 for PUT, POST requests with invalid basepath [\#761](https://github.com/go-swagger/go-swagger/issues/761) -- Responses should support a description [\#738](https://github.com/go-swagger/go-swagger/issues/738) -- swagger generate client fails on validated swagger.json [\#733](https://github.com/go-swagger/go-swagger/issues/733) -- Validation error with spec that contains refs to local files [\#729](https://github.com/go-swagger/go-swagger/issues/729) -- Duplicate imports in main.go on pet-store's swagger file. [\#665](https://github.com/go-swagger/go-swagger/issues/665) -- \[BREAKING\] Path tags change code generation in a strange way [\#500](https://github.com/go-swagger/go-swagger/issues/500) +- Path parameters not unescaped correctly [\#928](https://github.com/cloudentity/go-swagger/issues/928) +- routing issue when path param name contains a dash [\#907](https://github.com/cloudentity/go-swagger/issues/907) +- path params not always set to required:true [\#905](https://github.com/cloudentity/go-swagger/issues/905) +- Path not found error for endpoint with trailing slash [\#899](https://github.com/cloudentity/go-swagger/issues/899) +- Flattened spec does not validate. [\#898](https://github.com/cloudentity/go-swagger/issues/898) +- Generating array in response-header fails [\#881](https://github.com/cloudentity/go-swagger/issues/881) +- Spec generation examples and documentation does not match [\#879](https://github.com/cloudentity/go-swagger/issues/879) +- don't allow empty items in spec in resolveSimpleType [\#875](https://github.com/cloudentity/go-swagger/issues/875) +- root path `/` operations cannot be found in generated serverapi [\#870](https://github.com/cloudentity/go-swagger/issues/870) +- Debugging generated client at runtime [\#862](https://github.com/cloudentity/go-swagger/issues/862) +- Mistype [\#853](https://github.com/cloudentity/go-swagger/issues/853) +- Type using allOf in generate server has broken MarshalJSON and UnmarshalJSON in 0.8.0 [\#847](https://github.com/cloudentity/go-swagger/issues/847) +- responses dont have a stable order [\#846](https://github.com/cloudentity/go-swagger/issues/846) +- Wrong field selectors are generated when using allOf in response schema definition [\#844](https://github.com/cloudentity/go-swagger/issues/844) +- Model compilation problems when `additionalProperties: true` [\#822](https://github.com/cloudentity/go-swagger/issues/822) +- unresolvable blank format, generates in swagger-codegen, created repo with results [\#811](https://github.com/cloudentity/go-swagger/issues/811) +- Parameter names with brackets fail to generate valid Go variables [\#809](https://github.com/cloudentity/go-swagger/issues/809) +- Client gen not respecting `--tags` parameters [\#795](https://github.com/cloudentity/go-swagger/issues/795) +- Incorrect Validation generated for object field [\#786](https://github.com/cloudentity/go-swagger/issues/786) +- Can't reference definition from file in same directory [\#776](https://github.com/cloudentity/go-swagger/issues/776) +- baseImport doesn't handle case-insensitive paths on windows properly [\#775](https://github.com/cloudentity/go-swagger/issues/775) +- Model property default values not effective on server side processing [\#769](https://github.com/cloudentity/go-swagger/issues/769) +- Validation code for lists of int32s with minimum/maximum inside object fails to compile [\#763](https://github.com/cloudentity/go-swagger/issues/763) +- Server returns 405 Method not allowed instead of 404 for PUT, POST requests with invalid basepath [\#761](https://github.com/cloudentity/go-swagger/issues/761) +- Responses should support a description [\#738](https://github.com/cloudentity/go-swagger/issues/738) +- swagger generate client fails on validated swagger.json [\#733](https://github.com/cloudentity/go-swagger/issues/733) +- Validation error with spec that contains refs to local files [\#729](https://github.com/cloudentity/go-swagger/issues/729) +- Duplicate imports in main.go on pet-store's swagger file. [\#665](https://github.com/cloudentity/go-swagger/issues/665) +- \[BREAKING\] Path tags change code generation in a strange way [\#500](https://github.com/cloudentity/go-swagger/issues/500) **Closed issues:** -- Remove warning messages [\#993](https://github.com/go-swagger/go-swagger/issues/993) -- Nested Packages: Generating Spec File [\#991](https://github.com/go-swagger/go-swagger/issues/991) -- Question: package names [\#971](https://github.com/go-swagger/go-swagger/issues/971) -- How to write comment when API accepts json body? [\#970](https://github.com/go-swagger/go-swagger/issues/970) -- generate spec from source doesn't support custom name of params on header, query [\#963](https://github.com/go-swagger/go-swagger/issues/963) -- Read request body in middleware. [\#955](https://github.com/go-swagger/go-swagger/issues/955) -- validating content type for "application/json" against \[\] [\#952](https://github.com/go-swagger/go-swagger/issues/952) -- Scanning of SecureDefinitions returns wrong json [\#949](https://github.com/go-swagger/go-swagger/issues/949) -- Generated import path ignores capitalization [\#941](https://github.com/go-swagger/go-swagger/issues/941) -- Error "target must reside inside a location in the $GOPATH/src", target is in $GOPATH/src \(Windows\) [\#940](https://github.com/go-swagger/go-swagger/issues/940) -- Not able to generate proper swagger spec [\#938](https://github.com/go-swagger/go-swagger/issues/938) -- swagger:meta custom description [\#937](https://github.com/go-swagger/go-swagger/issues/937) -- Set HTTP header on the client side without an explicit swagger parameters [\#935](https://github.com/go-swagger/go-swagger/issues/935) -- Beam file not being generated. [\#930](https://github.com/go-swagger/go-swagger/issues/930) -- Need help in successfully running swagger generate commands [\#929](https://github.com/go-swagger/go-swagger/issues/929) -- How do you remove a not required date-time from your JSON output? [\#927](https://github.com/go-swagger/go-swagger/issues/927) -- Go-swagger app on Google App Engine Standard? [\#925](https://github.com/go-swagger/go-swagger/issues/925) -- Similar routing paths that differ at the leaf got dropped out [\#918](https://github.com/go-swagger/go-swagger/issues/918) -- Embedded pointers cause errors in spec generation [\#896](https://github.com/go-swagger/go-swagger/issues/896) -- Cannot parse time formats that look like this: 2017-01-17T22:58:45 [\#873](https://github.com/go-swagger/go-swagger/issues/873) -- Allow customized client constructor while respecting defaults [\#838](https://github.com/go-swagger/go-swagger/issues/838) -- Implement ValidateNamed method to support validation errors with proper names [\#837](https://github.com/go-swagger/go-swagger/issues/837) -- Support default value for model property [\#828](https://github.com/go-swagger/go-swagger/issues/828) -- Newlines in title field breaks docstrings [\#813](https://github.com/go-swagger/go-swagger/issues/813) -- Code gen: missing import restapi/operations/\[name\]/get\_\[name\]\_parameters.go ; "github.com/go-openapi/runtime/middleware" [\#590](https://github.com/go-swagger/go-swagger/issues/590) +- Remove warning messages [\#993](https://github.com/cloudentity/go-swagger/issues/993) +- Nested Packages: Generating Spec File [\#991](https://github.com/cloudentity/go-swagger/issues/991) +- Question: package names [\#971](https://github.com/cloudentity/go-swagger/issues/971) +- How to write comment when API accepts json body? [\#970](https://github.com/cloudentity/go-swagger/issues/970) +- generate spec from source doesn't support custom name of params on header, query [\#963](https://github.com/cloudentity/go-swagger/issues/963) +- Read request body in middleware. [\#955](https://github.com/cloudentity/go-swagger/issues/955) +- validating content type for "application/json" against \[\] [\#952](https://github.com/cloudentity/go-swagger/issues/952) +- Scanning of SecureDefinitions returns wrong json [\#949](https://github.com/cloudentity/go-swagger/issues/949) +- Generated import path ignores capitalization [\#941](https://github.com/cloudentity/go-swagger/issues/941) +- Error "target must reside inside a location in the $GOPATH/src", target is in $GOPATH/src \(Windows\) [\#940](https://github.com/cloudentity/go-swagger/issues/940) +- Not able to generate proper swagger spec [\#938](https://github.com/cloudentity/go-swagger/issues/938) +- swagger:meta custom description [\#937](https://github.com/cloudentity/go-swagger/issues/937) +- Set HTTP header on the client side without an explicit swagger parameters [\#935](https://github.com/cloudentity/go-swagger/issues/935) +- Beam file not being generated. [\#930](https://github.com/cloudentity/go-swagger/issues/930) +- Need help in successfully running swagger generate commands [\#929](https://github.com/cloudentity/go-swagger/issues/929) +- How do you remove a not required date-time from your JSON output? [\#927](https://github.com/cloudentity/go-swagger/issues/927) +- Go-swagger app on Google App Engine Standard? [\#925](https://github.com/cloudentity/go-swagger/issues/925) +- Similar routing paths that differ at the leaf got dropped out [\#918](https://github.com/cloudentity/go-swagger/issues/918) +- Embedded pointers cause errors in spec generation [\#896](https://github.com/cloudentity/go-swagger/issues/896) +- Cannot parse time formats that look like this: 2017-01-17T22:58:45 [\#873](https://github.com/cloudentity/go-swagger/issues/873) +- Allow customized client constructor while respecting defaults [\#838](https://github.com/cloudentity/go-swagger/issues/838) +- Implement ValidateNamed method to support validation errors with proper names [\#837](https://github.com/cloudentity/go-swagger/issues/837) +- Support default value for model property [\#828](https://github.com/cloudentity/go-swagger/issues/828) +- Newlines in title field breaks docstrings [\#813](https://github.com/cloudentity/go-swagger/issues/813) +- Code gen: missing import restapi/operations/\[name\]/get\_\[name\]\_parameters.go ; "github.com/go-openapi/runtime/middleware" [\#590](https://github.com/cloudentity/go-swagger/issues/590) **Merged pull requests:** -- no x-go-name on $ref props [\#994](https://github.com/go-swagger/go-swagger/pull/994) ([casualjim](https://github.com/casualjim)) -- Update response.md [\#988](https://github.com/go-swagger/go-swagger/pull/988) ([matiasanaya-ffx](https://github.com/matiasanaya-ffx)) -- Allow to set build tags for scanner [\#980](https://github.com/go-swagger/go-swagger/pull/980) ([gaplyk](https://github.com/gaplyk)) -- Fix links in docs/README.md [\#978](https://github.com/go-swagger/go-swagger/pull/978) ([houjunchen](https://github.com/houjunchen)) -- Task: Update generate docs [\#975](https://github.com/go-swagger/go-swagger/pull/975) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Bugfix: err shadows declaration [\#974](https://github.com/go-swagger/go-swagger/pull/974) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Bugfix: Check error of SetTimeout [\#969](https://github.com/go-swagger/go-swagger/pull/969) ([kenjones-cisco](https://github.com/kenjones-cisco)) -- Always add default imports [\#966](https://github.com/go-swagger/go-swagger/pull/966) ([kars7e](https://github.com/kars7e)) -- Respect required for polymorphic types [\#964](https://github.com/go-swagger/go-swagger/pull/964) ([jbowes](https://github.com/jbowes)) -- update vendored libs [\#956](https://github.com/go-swagger/go-swagger/pull/956) ([casualjim](https://github.com/casualjim)) -- generator: Generate good godoc style for HTTP error codes [\#953](https://github.com/go-swagger/go-swagger/pull/953) ([tgraf](https://github.com/tgraf)) -- Add in swagger:meta, security fix. Implementation of secure definitions [\#950](https://github.com/go-swagger/go-swagger/pull/950) ([gaplyk](https://github.com/gaplyk)) -- Fix package lookup. Add ast.SelectorExpr [\#945](https://github.com/go-swagger/go-swagger/pull/945) ([gaplyk](https://github.com/gaplyk)) -- Updates schema scanner to print warning [\#942](https://github.com/go-swagger/go-swagger/pull/942) ([robertacosta](https://github.com/robertacosta)) -- Added custom tag functionality [\#939](https://github.com/go-swagger/go-swagger/pull/939) ([johnnadratowski](https://github.com/johnnadratowski)) -- Use json.RawMessage to decode polymorphic types [\#933](https://github.com/go-swagger/go-swagger/pull/933) ([kars7e](https://github.com/kars7e)) -- Set the read and write timeout values for the http scheme [\#926](https://github.com/go-swagger/go-swagger/pull/926) ([jbowes](https://github.com/jbowes)) -- Remove no-op basePath assignment. [\#921](https://github.com/go-swagger/go-swagger/pull/921) ([snargleplax](https://github.com/snargleplax)) -- Support x-go-name in response elements [\#916](https://github.com/go-swagger/go-swagger/pull/916) ([tgraf](https://github.com/tgraf)) -- Fix some typos and spelling errors I discovered while reading the docs [\#915](https://github.com/go-swagger/go-swagger/pull/915) ([flimzy](https://github.com/flimzy)) -- generator: Provide const for all defined response codes [\#914](https://github.com/go-swagger/go-swagger/pull/914) ([tgraf](https://github.com/tgraf)) -- fix\(generator\): always use runtime/flagext in server generation [\#913](https://github.com/go-swagger/go-swagger/pull/913) ([mitch000001](https://github.com/mitch000001)) -- fixes path param scan and trailing slash router [\#906](https://github.com/go-swagger/go-swagger/pull/906) ([casualjim](https://github.com/casualjim)) -- add custom server example and update examples [\#904](https://github.com/go-swagger/go-swagger/pull/904) ([GlenDC](https://github.com/GlenDC)) -- remove unused resolveSimpleType func [\#903](https://github.com/go-swagger/go-swagger/pull/903) ([GlenDC](https://github.com/GlenDC)) -- 886 bash zsh autocompletion [\#902](https://github.com/go-swagger/go-swagger/pull/902) ([GlenDC](https://github.com/GlenDC)) -- add custom server tutorial [\#900](https://github.com/go-swagger/go-swagger/pull/900) ([GlenDC](https://github.com/GlenDC)) -- Fixes \#896 - Added \*ast.StarExpr to parsers [\#897](https://github.com/go-swagger/go-swagger/pull/897) ([bjyoungblood](https://github.com/bjyoungblood)) -- Allow CodeGen to skip formatting [\#895](https://github.com/go-swagger/go-swagger/pull/895) ([steve-gray](https://github.com/steve-gray)) -- fix sliceserverheaderbuilder's broken ValueExpression selector [\#885](https://github.com/go-swagger/go-swagger/pull/885) ([GlenDC](https://github.com/GlenDC)) -- Remove unnecessary ToUpper from builder template [\#882](https://github.com/go-swagger/go-swagger/pull/882) ([posener](https://github.com/posener)) -- make sure docs and its inline example match [\#880](https://github.com/go-swagger/go-swagger/pull/880) ([GlenDC](https://github.com/GlenDC)) -- Fix some grammar [\#878](https://github.com/go-swagger/go-swagger/pull/878) ([PaulCapestany](https://github.com/PaulCapestany)) -- generate root path as empty string in server router [\#871](https://github.com/go-swagger/go-swagger/pull/871) ([GlenDC](https://github.com/GlenDC)) -- Add default imports in templates [\#867](https://github.com/go-swagger/go-swagger/pull/867) ([JrCs](https://github.com/JrCs)) -- fix for broken link in todo-list tutorial [\#857](https://github.com/go-swagger/go-swagger/pull/857) ([nathany](https://github.com/nathany)) -- Generate code that keeps swagger spec as a string instead of a \[\]byte [\#856](https://github.com/go-swagger/go-swagger/pull/856) ([vburenin](https://github.com/vburenin)) -- fix typo in server/builder.gotmpl [\#855](https://github.com/go-swagger/go-swagger/pull/855) ([GlenDC](https://github.com/GlenDC)) -- fix \#847 [\#851](https://github.com/go-swagger/go-swagger/pull/851) ([Simon-Li](https://github.com/Simon-Li)) -- ensure constant client response body order [\#848](https://github.com/go-swagger/go-swagger/pull/848) ([GlenDC](https://github.com/GlenDC)) -- generator: strip package name from type name [\#845](https://github.com/go-swagger/go-swagger/pull/845) ([rjeczalik](https://github.com/rjeczalik)) -- expose transport config, fixes \#838 [\#843](https://github.com/go-swagger/go-swagger/pull/843) ([GlenDC](https://github.com/GlenDC)) -- 837-support-validation-error-with-proper-name [\#840](https://github.com/go-swagger/go-swagger/pull/840) ([Simon-Li](https://github.com/Simon-Li)) -- Fix a number of bugs [\#832](https://github.com/go-swagger/go-swagger/pull/832) ([casualjim](https://github.com/casualjim)) -- 828-Support-default-value-for-model-property [\#829](https://github.com/go-swagger/go-swagger/pull/829) ([Simon-Li](https://github.com/Simon-Li)) -- Fix issue [\#826](https://github.com/go-swagger/go-swagger/pull/826) ([gaplyk](https://github.com/gaplyk)) -- allow for gopath to be differently cased from actual [\#821](https://github.com/go-swagger/go-swagger/pull/821) ([casualjim](https://github.com/casualjim)) -- local file refs for params and responses in server gen [\#820](https://github.com/go-swagger/go-swagger/pull/820) ([casualjim](https://github.com/casualjim)) -- validate respects local file reference [\#819](https://github.com/go-swagger/go-swagger/pull/819) ([casualjim](https://github.com/casualjim)) -- improve defaults API constructor, fixes \#810 [\#816](https://github.com/go-swagger/go-swagger/pull/816) ([GlenDC](https://github.com/GlenDC)) -- add operation annotation [\#815](https://github.com/go-swagger/go-swagger/pull/815) ([GlenDC](https://github.com/GlenDC)) -- Apply comment function to title in docstring template [\#814](https://github.com/go-swagger/go-swagger/pull/814) ([lstoll](https://github.com/lstoll)) -- Use existing Go type instead of generated one \(fix \#778\) [\#812](https://github.com/go-swagger/go-swagger/pull/812) ([nikolay-turpitko](https://github.com/nikolay-turpitko)) +- no x-go-name on $ref props [\#994](https://github.com/cloudentity/go-swagger/pull/994) ([casualjim](https://github.com/casualjim)) +- Update response.md [\#988](https://github.com/cloudentity/go-swagger/pull/988) ([matiasanaya-ffx](https://github.com/matiasanaya-ffx)) +- Allow to set build tags for scanner [\#980](https://github.com/cloudentity/go-swagger/pull/980) ([gaplyk](https://github.com/gaplyk)) +- Fix links in docs/README.md [\#978](https://github.com/cloudentity/go-swagger/pull/978) ([houjunchen](https://github.com/houjunchen)) +- Task: Update generate docs [\#975](https://github.com/cloudentity/go-swagger/pull/975) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Bugfix: err shadows declaration [\#974](https://github.com/cloudentity/go-swagger/pull/974) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Bugfix: Check error of SetTimeout [\#969](https://github.com/cloudentity/go-swagger/pull/969) ([kenjones-cisco](https://github.com/kenjones-cisco)) +- Always add default imports [\#966](https://github.com/cloudentity/go-swagger/pull/966) ([kars7e](https://github.com/kars7e)) +- Respect required for polymorphic types [\#964](https://github.com/cloudentity/go-swagger/pull/964) ([jbowes](https://github.com/jbowes)) +- update vendored libs [\#956](https://github.com/cloudentity/go-swagger/pull/956) ([casualjim](https://github.com/casualjim)) +- generator: Generate good godoc style for HTTP error codes [\#953](https://github.com/cloudentity/go-swagger/pull/953) ([tgraf](https://github.com/tgraf)) +- Add in swagger:meta, security fix. Implementation of secure definitions [\#950](https://github.com/cloudentity/go-swagger/pull/950) ([gaplyk](https://github.com/gaplyk)) +- Fix package lookup. Add ast.SelectorExpr [\#945](https://github.com/cloudentity/go-swagger/pull/945) ([gaplyk](https://github.com/gaplyk)) +- Updates schema scanner to print warning [\#942](https://github.com/cloudentity/go-swagger/pull/942) ([robertacosta](https://github.com/robertacosta)) +- Added custom tag functionality [\#939](https://github.com/cloudentity/go-swagger/pull/939) ([johnnadratowski](https://github.com/johnnadratowski)) +- Use json.RawMessage to decode polymorphic types [\#933](https://github.com/cloudentity/go-swagger/pull/933) ([kars7e](https://github.com/kars7e)) +- Set the read and write timeout values for the http scheme [\#926](https://github.com/cloudentity/go-swagger/pull/926) ([jbowes](https://github.com/jbowes)) +- Remove no-op basePath assignment. [\#921](https://github.com/cloudentity/go-swagger/pull/921) ([snargleplax](https://github.com/snargleplax)) +- Support x-go-name in response elements [\#916](https://github.com/cloudentity/go-swagger/pull/916) ([tgraf](https://github.com/tgraf)) +- Fix some typos and spelling errors I discovered while reading the docs [\#915](https://github.com/cloudentity/go-swagger/pull/915) ([flimzy](https://github.com/flimzy)) +- generator: Provide const for all defined response codes [\#914](https://github.com/cloudentity/go-swagger/pull/914) ([tgraf](https://github.com/tgraf)) +- fix\(generator\): always use runtime/flagext in server generation [\#913](https://github.com/cloudentity/go-swagger/pull/913) ([mitch000001](https://github.com/mitch000001)) +- fixes path param scan and trailing slash router [\#906](https://github.com/cloudentity/go-swagger/pull/906) ([casualjim](https://github.com/casualjim)) +- add custom server example and update examples [\#904](https://github.com/cloudentity/go-swagger/pull/904) ([GlenDC](https://github.com/GlenDC)) +- remove unused resolveSimpleType func [\#903](https://github.com/cloudentity/go-swagger/pull/903) ([GlenDC](https://github.com/GlenDC)) +- 886 bash zsh autocompletion [\#902](https://github.com/cloudentity/go-swagger/pull/902) ([GlenDC](https://github.com/GlenDC)) +- add custom server tutorial [\#900](https://github.com/cloudentity/go-swagger/pull/900) ([GlenDC](https://github.com/GlenDC)) +- Fixes \#896 - Added \*ast.StarExpr to parsers [\#897](https://github.com/cloudentity/go-swagger/pull/897) ([bjyoungblood](https://github.com/bjyoungblood)) +- Allow CodeGen to skip formatting [\#895](https://github.com/cloudentity/go-swagger/pull/895) ([steve-gray](https://github.com/steve-gray)) +- fix sliceserverheaderbuilder's broken ValueExpression selector [\#885](https://github.com/cloudentity/go-swagger/pull/885) ([GlenDC](https://github.com/GlenDC)) +- Remove unnecessary ToUpper from builder template [\#882](https://github.com/cloudentity/go-swagger/pull/882) ([posener](https://github.com/posener)) +- make sure docs and its inline example match [\#880](https://github.com/cloudentity/go-swagger/pull/880) ([GlenDC](https://github.com/GlenDC)) +- Fix some grammar [\#878](https://github.com/cloudentity/go-swagger/pull/878) ([PaulCapestany](https://github.com/PaulCapestany)) +- generate root path as empty string in server router [\#871](https://github.com/cloudentity/go-swagger/pull/871) ([GlenDC](https://github.com/GlenDC)) +- Add default imports in templates [\#867](https://github.com/cloudentity/go-swagger/pull/867) ([JrCs](https://github.com/JrCs)) +- fix for broken link in todo-list tutorial [\#857](https://github.com/cloudentity/go-swagger/pull/857) ([nathany](https://github.com/nathany)) +- Generate code that keeps swagger spec as a string instead of a \[\]byte [\#856](https://github.com/cloudentity/go-swagger/pull/856) ([vburenin](https://github.com/vburenin)) +- fix typo in server/builder.gotmpl [\#855](https://github.com/cloudentity/go-swagger/pull/855) ([GlenDC](https://github.com/GlenDC)) +- fix \#847 [\#851](https://github.com/cloudentity/go-swagger/pull/851) ([Simon-Li](https://github.com/Simon-Li)) +- ensure constant client response body order [\#848](https://github.com/cloudentity/go-swagger/pull/848) ([GlenDC](https://github.com/GlenDC)) +- generator: strip package name from type name [\#845](https://github.com/cloudentity/go-swagger/pull/845) ([rjeczalik](https://github.com/rjeczalik)) +- expose transport config, fixes \#838 [\#843](https://github.com/cloudentity/go-swagger/pull/843) ([GlenDC](https://github.com/GlenDC)) +- 837-support-validation-error-with-proper-name [\#840](https://github.com/cloudentity/go-swagger/pull/840) ([Simon-Li](https://github.com/Simon-Li)) +- Fix a number of bugs [\#832](https://github.com/cloudentity/go-swagger/pull/832) ([casualjim](https://github.com/casualjim)) +- 828-Support-default-value-for-model-property [\#829](https://github.com/cloudentity/go-swagger/pull/829) ([Simon-Li](https://github.com/Simon-Li)) +- Fix issue [\#826](https://github.com/cloudentity/go-swagger/pull/826) ([gaplyk](https://github.com/gaplyk)) +- allow for gopath to be differently cased from actual [\#821](https://github.com/cloudentity/go-swagger/pull/821) ([casualjim](https://github.com/casualjim)) +- local file refs for params and responses in server gen [\#820](https://github.com/cloudentity/go-swagger/pull/820) ([casualjim](https://github.com/casualjim)) +- validate respects local file reference [\#819](https://github.com/cloudentity/go-swagger/pull/819) ([casualjim](https://github.com/casualjim)) +- improve defaults API constructor, fixes \#810 [\#816](https://github.com/cloudentity/go-swagger/pull/816) ([GlenDC](https://github.com/GlenDC)) +- add operation annotation [\#815](https://github.com/cloudentity/go-swagger/pull/815) ([GlenDC](https://github.com/GlenDC)) +- Apply comment function to title in docstring template [\#814](https://github.com/cloudentity/go-swagger/pull/814) ([lstoll](https://github.com/lstoll)) +- Use existing Go type instead of generated one \(fix \#778\) [\#812](https://github.com/cloudentity/go-swagger/pull/812) ([nikolay-turpitko](https://github.com/nikolay-turpitko)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* diff --git a/scan/classifier_test.go b/scan/classifier_test.go index 7c5e04164..dd38798d8 100644 --- a/scan/classifier_test.go +++ b/scan/classifier_test.go @@ -59,9 +59,9 @@ func classifierProgram() *loader.Program { var ldr loader.Config ldr.ParserMode = goparser.ParseComments ldr.Build = &gobuild.Default - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/classification") - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models") - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/classification") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations") prog, err := ldr.Load() if err != nil { log.Fatal(err) @@ -73,9 +73,9 @@ func petstoreProgram() *loader.Program { var ldr loader.Config ldr.ParserMode = goparser.ParseComments ldr.Build = &gobuild.Default - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/petstore") - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/models") - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/petstore/rest/handlers") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/petstore") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/models") + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/petstore/rest/handlers") prog, err := ldr.Load() if err != nil { log.Fatal(err) @@ -86,7 +86,7 @@ func petstoreProgram() *loader.Program { func invalidProgram(name string) *loader.Program { var ldr loader.Config ldr.ParserMode = goparser.ParseComments - ldr.ImportWithTests("github.com/go-swagger/go-swagger/fixtures/goparsing/" + name) + ldr.ImportWithTests("github.com/cloudentity/go-swagger/fixtures/goparsing/" + name) prog, err := ldr.Load() if err != nil { log.Fatal(err) @@ -134,10 +134,10 @@ func TestClassifierInclude(t *testing.T) { prog := classificationProg classifier := &programClassifier{ Includes: packageFilters([]packageFilter{ - {Name: "github.com/go-swagger/go-swagger/fixtures/goparsing/classification"}, - {Name: "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods"}, - {Name: "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations"}, - {Name: "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/operations_annotation"}, + {Name: "github.com/cloudentity/go-swagger/fixtures/goparsing/classification"}, + {Name: "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods"}, + {Name: "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations"}, + {Name: "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/operations_annotation"}, }), } classified, err := classifier.Classify(prog) @@ -163,7 +163,7 @@ func TestClassifierExclude(t *testing.T) { prog := classificationProg classifier := &programClassifier{ Excludes: packageFilters([]packageFilter{ - {Name: "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/transitive/mods"}, + {Name: "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods"}, }), } classified, err := classifier.Classify(prog) diff --git a/scan/schema.go b/scan/schema.go index bd88be4a3..808f8218d 100644 --- a/scan/schema.go +++ b/scan/schema.go @@ -968,7 +968,7 @@ func (scp *schemaParser) packageForSelector(gofile *ast.File, expr ast.Expr) (*l return pkg, nil } // TODO: I must admit this made me cry, it's not even a great solution. - pkg = scp.program.Package("github.com/go-swagger/go-swagger/vendor/" + selPath) + pkg = scp.program.Package("github.com/cloudentity/go-swagger/vendor/" + selPath) if pkg != nil { return pkg, nil } diff --git a/scan/schema_test.go b/scan/schema_test.go index c95a83d96..e76301166 100644 --- a/scan/schema_test.go +++ b/scan/schema_test.go @@ -215,7 +215,7 @@ func TestSchemaParser(t *testing.T) { definitions := make(map[string]spec.Schema) sp := newSchemaParser(classificationProg) - pn := "github.com/go-swagger/go-swagger/fixtures/goparsing/classification/models" + pn := "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/models" // pnr := "../fixtures/goparsing/classification/models" pkg := classificationProg.Package(pn) if assert.NotNil(t, pkg) { From 577371c69c9c845967d2f8a21138673bae046b66 Mon Sep 17 00:00:00 2001 From: Mateusz Bilski Date: Thu, 20 Oct 2022 10:28:49 +0200 Subject: [PATCH 2/2] Revert object --- codescan/application_test.go | 4 +--- codescan/parser.go | 2 -- codescan/schema.go | 9 ++------- codescan/schema_test.go | 17 +---------------- .../goparsing/classification/models/nomodel.go | 10 +--------- 5 files changed, 5 insertions(+), 37 deletions(-) diff --git a/codescan/application_test.go b/codescan/application_test.go index fccc6e238..1b17869bf 100644 --- a/codescan/application_test.go +++ b/codescan/application_test.go @@ -5,9 +5,7 @@ import ( "testing" "github.com/go-openapi/spec" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" ) @@ -47,7 +45,7 @@ func loadClassificationPkgsCtx(t testing.TB, extra ...string) *scanCtx { func TestApplication_LoadCode(t *testing.T) { sctx := loadClassificationPkgsCtx(t) require.NotNil(t, sctx) - require.Len(t, sctx.app.Models, 32) + require.Len(t, sctx.app.Models, 31) require.Len(t, sctx.app.Meta, 1) require.Len(t, sctx.app.Routes, 7) require.Empty(t, sctx.app.Operations) diff --git a/codescan/parser.go b/codescan/parser.go index 413f5619d..7bb0a9c35 100644 --- a/codescan/parser.go +++ b/codescan/parser.go @@ -250,8 +250,6 @@ func swaggerSchemaForType(typeName string, prop swaggerTypable) error { prop.Typed("integer", "uint8") case "uintptr": prop.Typed("integer", "uint64") - case "object": - prop.Typed("object", "") default: return fmt.Errorf("unsupported type %q", typeName) } diff --git a/codescan/schema.go b/codescan/schema.go index 37db1e6e4..fe580d91c 100644 --- a/codescan/schema.go +++ b/codescan/schema.go @@ -12,10 +12,9 @@ import ( "strconv" "strings" - "golang.org/x/tools/go/ast/astutil" - "github.com/go-openapi/spec" "github.com/pkg/errors" + "golang.org/x/tools/go/ast/astutil" ) func addExtension(ve *spec.VendorExtensible, key string, value interface{}) { @@ -356,11 +355,6 @@ func (s *schemaBuilder) buildFromType(tpe types.Type, tgt swaggerTypable) error cmt = new(ast.CommentGroup) } - if typeName, ok := typeName(cmt); ok { - _ = swaggerSchemaForType(typeName, tgt) - return nil - } - switch utitpe := tpe.Underlying().(type) { case *types.Struct: @@ -493,6 +487,7 @@ func (s *schemaBuilder) buildFromType(tpe types.Type, tgt swaggerTypable) error func (s *schemaBuilder) buildFromInterface(decl *entityDecl, it *types.Interface, schema *spec.Schema, seen map[string]string) error { if it.Empty() { + schema.Typed("object", "") return nil } diff --git a/codescan/schema_test.go b/codescan/schema_test.go index 1fa6e7482..0a8e862fb 100644 --- a/codescan/schema_test.go +++ b/codescan/schema_test.go @@ -671,7 +671,7 @@ func TestInterfaceField(t *testing.T) { require.NoError(t, prs.Build(models)) schema := models["Interfaced"] - assertProperty(t, &schema, "", "custom_data", "", "CustomData") + assertProperty(t, &schema, "object", "custom_data", "", "CustomData") } func TestAliasedTypes(t *testing.T) { @@ -834,21 +834,6 @@ func TestEmbeddedAllOf(t *testing.T) { assertProperty(t, &asch, "string", "cat", "", "Cat") } -func TestSwaggerTypeNamed(t *testing.T) { - sctx := loadClassificationPkgsCtx(t) - decl := getClassificationModel(sctx, "NamedWithType") - require.NotNil(t, decl) - prs := &schemaBuilder{ - ctx: sctx, - decl: decl, - } - models := make(map[string]spec.Schema) - require.NoError(t, prs.Build(models)) - schema := models["namedWithType"] - - assertProperty(t, &schema, "object", "some_map", "", "SomeMap") -} - func TestSwaggerTypeStruct(t *testing.T) { sctx := loadClassificationPkgsCtx(t) decl := getClassificationModel(sctx, "NullString") diff --git a/fixtures/goparsing/classification/models/nomodel.go b/fixtures/goparsing/classification/models/nomodel.go index d06380a3f..4e5bd78e4 100644 --- a/fixtures/goparsing/classification/models/nomodel.go +++ b/fixtures/goparsing/classification/models/nomodel.go @@ -18,8 +18,8 @@ import ( "net/url" "time" - "github.com/go-openapi/strfmt" "github.com/cloudentity/go-swagger/fixtures/goparsing/classification/transitive/mods" + "github.com/go-openapi/strfmt" ) // NoModel is a struct without an annotation. @@ -753,11 +753,3 @@ type TextMarshalModel struct { StructStrfmtPtr *MarshalTextStructStrfmtPtr `json:"structStrfmtPtr"` CustomURL URL `json:"customUrl"` } - -// swagger:type object -type SomeObjectMap interface{} - -// swagger:model namedWithType -type NamedWithType struct { - SomeMap SomeObjectMap `json:"some_map"` -}