├── docs ├── CNAME ├── favicon.ico ├── favicon-16x16.png ├── favicon-32x32.png ├── presentations │ ├── images │ │ ├── burden.jpg │ │ ├── no-docs.jpg │ │ ├── onejob.jpg │ │ ├── postman.jpg │ │ ├── annotation.png │ │ ├── conflict.jpg │ │ ├── contract.jpg │ │ ├── primitives.jpg │ │ ├── staggered.jpg │ │ ├── stale-docs.jpg │ │ ├── stoneage.jpg │ │ ├── whatyear.jpg │ │ ├── comm-failure.jpg │ │ └── param-annotation.png │ └── Swagger-golangsf_files │ │ ├── burden.jpg │ │ ├── conflict.jpg │ │ ├── contract.jpg │ │ ├── no-docs.jpg │ │ ├── postman.jpg │ │ ├── staggered.jpg │ │ ├── stoneage.jpg │ │ ├── annotation.png │ │ ├── stale-docs.jpg │ │ ├── comm-failure.jpg │ │ └── param-annotation.png └── generate │ └── spec │ └── ignore.md ├── fixtures ├── bugs │ ├── 103 │ │ └── .gitignore │ ├── 155 │ │ └── gen.sh │ ├── 776 │ │ ├── error.yaml │ │ └── item.yaml │ ├── 825 │ │ └── swagger.yml │ ├── 866 │ │ └── .gitignore │ ├── 890 │ │ └── path │ │ │ └── health_check.yaml │ ├── 909 │ │ └── .gitignore │ ├── 910 │ │ └── .gitignore │ ├── 946 │ │ └── .gitignore │ ├── 1013 │ │ └── .gitignore │ ├── 1062 │ │ └── .gitignore │ ├── 1084 │ │ └── .gitignore │ ├── 1232 │ │ ├── pet-data-1.json │ │ ├── pet-data-2.json │ │ └── pet-data-3.json │ ├── 1237 │ │ └── .gitignore │ ├── 1277 │ │ └── .gitignore │ ├── 1314 │ │ └── .gitignore │ ├── 1392 │ │ └── .gitignore │ ├── 1400 │ │ └── .gitignore │ ├── 1437 │ │ └── .gitignore │ ├── 1532 │ │ └── .gitignore │ ├── 1536 │ │ └── .gitignore │ └── 1537 │ │ └── .gitignore ├── templates │ ├── header.gotmpl │ ├── model.gotmpl │ ├── schema.gotmpl │ ├── docstring.gotmpl │ ├── schemabody.gotmpl │ ├── schematype.gotmpl │ ├── server │ │ ├── doc.gotmpl │ │ ├── main.gotmpl │ │ ├── builder.gotmpl │ │ ├── operation.gotmpl │ │ ├── parameter.gotmpl │ │ ├── responses.gotmpl │ │ └── configureapi.gotmpl │ ├── structfield.gotmpl │ ├── tuplefield.gotmpl │ ├── client │ │ ├── client.gotmpl │ │ ├── facade.gotmpl │ │ ├── parameter.gotmpl │ │ └── response.gotmpl │ ├── gen_templates.sh │ ├── modelvalidator.gotmpl │ ├── schemavalidator.gotmpl │ ├── tupleserializer.gotmpl │ ├── swagger_json_embed.gotmpl │ ├── validation │ │ ├── primitive.gotmpl │ │ ├── customformat.gotmpl │ │ └── structfield.gotmpl │ └── additionalpropertiesserializer.gotmpl ├── remotes │ ├── integer.json │ ├── folder │ │ └── folderInteger.json │ └── subSchemas.json ├── specs │ ├── deeper │ │ ├── stringProp.json │ │ └── arrayProp.json │ ├── resolution2.json │ └── resolution.json ├── canary │ ├── docker │ │ └── .gitignore │ ├── petstore │ │ └── .gitignore │ ├── quay.io │ │ └── .gitignore │ ├── bitbucket.org │ │ └── .gitignore │ ├── docker-fixed │ │ ├── .gitignore │ │ └── README.md │ ├── kubernetes │ │ └── .gitignore │ ├── ms-cog-sci │ │ └── .gitignore │ └── ms-cog-sci-fixed │ │ └── .gitignore └── goparsing │ └── classification │ └── README.md ├── generator ├── templates │ └── tuplefield.gotmpl └── gen-debug.sh ├── vendor ├── gopkg.in │ ├── mgo.v2 │ │ ├── txn │ │ │ └── output.txt │ │ ├── harness │ │ │ └── daemons │ │ │ │ ├── cfg1 │ │ │ │ ├── db │ │ │ │ │ ├── .empty │ │ │ │ │ └── mongod.lock │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── cfg2 │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── cfg3 │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── db1 │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── db2 │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── db3 │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs1a │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs1b │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs1c │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs2a │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs2b │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs2c │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs3a │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs3b │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs3c │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── rs4a │ │ │ │ ├── db │ │ │ │ │ └── .empty │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── s1 │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ ├── s2 │ │ │ │ ├── log │ │ │ │ │ └── run │ │ │ │ └── run │ │ │ │ └── s3 │ │ │ │ ├── log │ │ │ │ └── run │ │ │ │ └── run │ │ ├── raceon.go │ │ ├── raceoff.go │ │ ├── Makefile │ │ ├── internal │ │ │ └── json │ │ │ │ └── testdata │ │ │ │ └── code.json.gz │ │ ├── README.md │ │ ├── dbtest │ │ │ └── export_test.go │ │ ├── syscall_windows_test.go │ │ ├── saslstub.go │ │ ├── saslimpl.go │ │ └── syscall_test.go │ ├── square │ │ └── go-jose.v2 │ │ │ ├── .gitignore │ │ │ ├── .gitcookies.sh.enc │ │ │ ├── json │ │ │ └── testdata │ │ │ │ └── code.json.gz │ │ │ └── jose-util │ │ │ ├── ec.pub │ │ │ └── test-keys │ │ │ └── ecdh.pub │ └── yaml.v2 │ │ ├── go.mod │ │ ├── .travis.yml │ │ └── suite_test.go ├── github.com │ ├── go-openapi │ │ ├── inflect │ │ │ └── .hgignore │ │ ├── loads │ │ │ ├── fixtures │ │ │ │ ├── yaml │ │ │ │ │ ├── .gitkeep │ │ │ │ │ ├── yaml │ │ │ │ │ │ ├── .gitkeep │ │ │ │ │ │ ├── models │ │ │ │ │ │ │ ├── properties │ │ │ │ │ │ │ │ ├── simpleStringProperty.yaml │ │ │ │ │ │ │ │ ├── simpleByteProperty.yaml │ │ │ │ │ │ │ │ ├── simpleInt32Property.yaml │ │ │ │ │ │ │ │ ├── simpleInt64Property.yaml │ │ │ │ │ │ │ │ ├── simpleDateTimeProperty.yaml │ │ │ │ │ │ │ │ ├── propertyWithBooleanArray.yaml │ │ │ │ │ │ │ │ ├── propertyWithStringArray.yaml │ │ │ │ │ │ │ │ ├── propertyWithComplexArray.yaml │ │ │ │ │ │ │ │ ├── propertyWithRef.yaml │ │ │ │ │ │ │ │ ├── propertyWithByteArray.yaml │ │ │ │ │ │ │ │ ├── propertyWithInt32Array.yaml │ │ │ │ │ │ │ │ ├── propertyWithInt64Array.yaml │ │ │ │ │ │ │ │ ├── simpleBooleanProperty.yaml │ │ │ │ │ │ │ │ └── propertyWithDateTimeArray.yaml │ │ │ │ │ │ │ ├── modelWithStringProperty.yaml │ │ │ │ │ │ │ ├── models.yaml │ │ │ │ │ │ │ ├── modelWithInt64Map.yaml │ │ │ │ │ │ │ ├── modelWithDateTimeMap.yaml │ │ │ │ │ │ │ ├── modelWithInt32Map.yaml │ │ │ │ │ │ │ ├── modelWithArrayRef.yaml │ │ │ │ │ │ │ ├── modelWithPrimitiveArray.yaml │ │ │ │ │ │ │ ├── modelWithExamples.yaml │ │ │ │ │ │ │ ├── multipleModels.yaml │ │ │ │ │ │ │ └── modelWithObjectMap.yaml │ │ │ │ │ │ ├── responses │ │ │ │ │ │ │ ├── voidResponse.yaml │ │ │ │ │ │ │ ├── stringResponse.yaml │ │ │ │ │ │ │ ├── int32Response.yaml │ │ │ │ │ │ │ ├── int64Response.yaml │ │ │ │ │ │ │ ├── dateTimeResponse.yaml │ │ │ │ │ │ │ ├── stringArrayResponse.yaml │ │ │ │ │ │ │ ├── complexArrayResponse.yaml │ │ │ │ │ │ │ ├── stringResponseWithHeader.yaml │ │ │ │ │ │ │ └── multipleResponses.yaml │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ └── parameters │ │ │ │ │ │ │ ├── pathStringParameter.yaml │ │ │ │ │ │ │ ├── formDataStringParameter.yaml │ │ │ │ │ │ │ ├── formDataComplexParameter.yaml │ │ │ │ │ │ │ ├── headerStringParameter.yaml │ │ │ │ │ │ │ ├── pathInt64Parameter.yaml │ │ │ │ │ │ │ ├── bodyComplexParameter.yaml │ │ │ │ │ │ │ ├── bodyStringParameter.yaml │ │ │ │ │ │ │ ├── bodyInt64Parameter.yaml │ │ │ │ │ │ │ ├── formDataInt64Parameter.yaml │ │ │ │ │ │ │ ├── queryStringParameter.yaml │ │ │ │ │ │ │ ├── queryWithComplexParameter.yaml │ │ │ │ │ │ │ ├── formDataStringArrayParameter.yaml │ │ │ │ │ │ │ ├── bodyStringArrayParameter.yaml │ │ │ │ │ │ │ ├── pathStringArrayParameter.yaml │ │ │ │ │ │ │ ├── bodyComplexArrayParameter.yaml │ │ │ │ │ │ │ ├── headerStringArrayParameter.yaml │ │ │ │ │ │ │ ├── queryInt64ArrayParameter.yaml │ │ │ │ │ │ │ └── headerInt64ArrayParameter.yaml │ │ │ │ │ ├── models │ │ │ │ │ │ ├── properties │ │ │ │ │ │ │ ├── simpleStringProperty.yaml │ │ │ │ │ │ │ ├── simpleByteProperty.yaml │ │ │ │ │ │ │ ├── simpleInt32Property.yaml │ │ │ │ │ │ │ ├── simpleInt64Property.yaml │ │ │ │ │ │ │ ├── simpleDateTimeProperty.yaml │ │ │ │ │ │ │ ├── propertyWithBooleanArray.yaml │ │ │ │ │ │ │ ├── propertyWithStringArray.yaml │ │ │ │ │ │ │ ├── propertyWithComplexArray.yaml │ │ │ │ │ │ │ ├── propertyWithRef.yaml │ │ │ │ │ │ │ ├── propertyWithByteArray.yaml │ │ │ │ │ │ │ ├── propertyWithInt32Array.yaml │ │ │ │ │ │ │ ├── propertyWithInt64Array.yaml │ │ │ │ │ │ │ ├── simpleBooleanProperty.yaml │ │ │ │ │ │ │ └── propertyWithDateTimeArray.yaml │ │ │ │ │ │ ├── modelWithStringProperty.yaml │ │ │ │ │ │ ├── models.yaml │ │ │ │ │ │ ├── modelWithInt64Map.yaml │ │ │ │ │ │ ├── modelWithDateTimeMap.yaml │ │ │ │ │ │ ├── modelWithInt32Map.yaml │ │ │ │ │ │ ├── modelWithArrayRef.yaml │ │ │ │ │ │ ├── modelWithPrimitiveArray.yaml │ │ │ │ │ │ ├── modelWithExamples.yaml │ │ │ │ │ │ ├── multipleModels.yaml │ │ │ │ │ │ └── modelWithObjectMap.yaml │ │ │ │ │ ├── responses │ │ │ │ │ │ ├── voidResponse.yaml │ │ │ │ │ │ ├── stringResponse.yaml │ │ │ │ │ │ ├── int32Response.yaml │ │ │ │ │ │ ├── int64Response.yaml │ │ │ │ │ │ ├── dateTimeResponse.yaml │ │ │ │ │ │ ├── stringArrayResponse.yaml │ │ │ │ │ │ ├── complexArrayResponse.yaml │ │ │ │ │ │ ├── stringResponseWithHeader.yaml │ │ │ │ │ │ └── multipleResponses.yaml │ │ │ │ │ └── resources │ │ │ │ │ │ └── parameters │ │ │ │ │ │ ├── pathStringParameter.yaml │ │ │ │ │ │ ├── formDataStringParameter.yaml │ │ │ │ │ │ ├── formDataComplexParameter.yaml │ │ │ │ │ │ ├── headerStringParameter.yaml │ │ │ │ │ │ ├── pathInt64Parameter.yaml │ │ │ │ │ │ ├── bodyComplexParameter.yaml │ │ │ │ │ │ ├── bodyStringParameter.yaml │ │ │ │ │ │ ├── bodyInt64Parameter.yaml │ │ │ │ │ │ ├── formDataInt64Parameter.yaml │ │ │ │ │ │ ├── queryStringParameter.yaml │ │ │ │ │ │ ├── queryWithComplexParameter.yaml │ │ │ │ │ │ ├── formDataStringArrayParameter.yaml │ │ │ │ │ │ ├── bodyStringArrayParameter.yaml │ │ │ │ │ │ ├── pathStringArrayParameter.yaml │ │ │ │ │ │ ├── bodyComplexArrayParameter.yaml │ │ │ │ │ │ ├── headerStringArrayParameter.yaml │ │ │ │ │ │ ├── queryInt64ArrayParameter.yaml │ │ │ │ │ │ └── headerInt64ArrayParameter.yaml │ │ │ │ └── json │ │ │ │ │ ├── responses │ │ │ │ │ ├── voidResponse.json │ │ │ │ │ ├── stringResponse.json │ │ │ │ │ ├── int32Response.json │ │ │ │ │ ├── int64Response.json │ │ │ │ │ ├── dateTimeResponse.json │ │ │ │ │ ├── stringArrayResponse.json │ │ │ │ │ ├── complexArrayResponse.json │ │ │ │ │ └── stringResponseWithHeader.json │ │ │ │ │ ├── models │ │ │ │ │ ├── properties │ │ │ │ │ │ ├── simpleStringProperty.json │ │ │ │ │ │ ├── simpleByteProperty.json │ │ │ │ │ │ ├── simpleInt32Property.json │ │ │ │ │ │ ├── simpleInt64Property.json │ │ │ │ │ │ ├── simpleDateTimeProperty.json │ │ │ │ │ │ ├── propertyWithRef.json │ │ │ │ │ │ ├── propertyWithBooleanArray.json │ │ │ │ │ │ ├── propertyWithStringArray.json │ │ │ │ │ │ ├── propertyWithComplexArray.json │ │ │ │ │ │ ├── simpleBooleanProperty.json │ │ │ │ │ │ ├── propertyWithByteArray.json │ │ │ │ │ │ ├── propertyWithInt32Array.json │ │ │ │ │ │ ├── propertyWithInt64Array.json │ │ │ │ │ │ └── propertyWithDateTimeArray.json │ │ │ │ │ ├── modelWithInt64Map.json │ │ │ │ │ ├── modelWithStringProperty.json │ │ │ │ │ ├── modelWithDateTimeMap.json │ │ │ │ │ ├── modelWithInt32Map.json │ │ │ │ │ └── models.json │ │ │ │ │ └── resources │ │ │ │ │ └── parameters │ │ │ │ │ ├── pathStringParameter.json │ │ │ │ │ ├── formDataComplexParameter.json │ │ │ │ │ ├── formDataStringParameter.json │ │ │ │ │ ├── headerStringParameter.json │ │ │ │ │ ├── formDataInt64Parameter.json │ │ │ │ │ ├── pathInt64Parameter.json │ │ │ │ │ ├── bodyComplexParameter.json │ │ │ │ │ ├── bodyStringParameter.json │ │ │ │ │ ├── queryStringParameter.json │ │ │ │ │ ├── bodyInt64Parameter.json │ │ │ │ │ ├── queryWithComplexParameter.json │ │ │ │ │ └── formDataStringArrayParameter.json │ │ │ └── .gitignore │ │ ├── jsonpointer │ │ │ └── .gitignore │ │ ├── jsonreference │ │ │ └── .gitignore │ │ ├── spec │ │ │ ├── .gitignore │ │ │ ├── fixtures │ │ │ │ └── specs │ │ │ │ │ ├── deeper │ │ │ │ │ ├── stringProp.json │ │ │ │ │ └── arrayProp.json │ │ │ │ │ ├── resolution2.json │ │ │ │ │ └── resolution.json │ │ │ └── schemas │ │ │ │ └── v2 │ │ │ │ └── README.md │ │ ├── errors │ │ │ └── .gitignore │ │ ├── runtime │ │ │ ├── fixtures │ │ │ │ └── certs │ │ │ │ │ ├── serial │ │ │ │ │ └── myclient.p12 │ │ │ ├── .gitignore │ │ │ └── middleware │ │ │ │ ├── go18.go │ │ │ │ └── pre_go18.go │ │ ├── strfmt │ │ │ └── .gitignore │ │ ├── swag │ │ │ ├── .gitignore │ │ │ ├── post_go18.go │ │ │ └── pre_go18.go │ │ ├── analysis │ │ │ ├── .gitignore │ │ │ └── fixtures │ │ │ │ ├── external │ │ │ │ ├── responses.yml │ │ │ │ ├── definitions2.yml │ │ │ │ ├── parameters.yml │ │ │ │ └── errors.yml │ │ │ │ └── empty-paths.json │ │ └── validate │ │ │ ├── .gitignore │ │ │ ├── fixtures │ │ │ ├── go-swagger │ │ │ │ ├── remotes │ │ │ │ │ ├── integer.json │ │ │ │ │ ├── folder │ │ │ │ │ │ └── folderInteger.json │ │ │ │ │ └── subSchemas.json │ │ │ │ ├── specs │ │ │ │ │ ├── deeper │ │ │ │ │ │ ├── stringProp.json │ │ │ │ │ │ └── arrayProp.json │ │ │ │ │ └── resolution2.json │ │ │ │ ├── templates │ │ │ │ │ └── swagger_json_embed.gotmpl │ │ │ │ └── bugs │ │ │ │ │ ├── 776 │ │ │ │ │ ├── error.yaml │ │ │ │ │ └── item.yaml │ │ │ │ │ ├── 825 │ │ │ │ │ └── swagger.yml │ │ │ │ │ └── 890 │ │ │ │ │ └── path │ │ │ │ │ └── health_check.yaml │ │ │ ├── jsonschema_suite │ │ │ │ └── remotes │ │ │ │ │ ├── integer.json │ │ │ │ │ ├── folder │ │ │ │ │ └── folderInteger.json │ │ │ │ │ ├── subSchemas.json │ │ │ │ │ └── name.json │ │ │ ├── bugs │ │ │ │ └── 73 │ │ │ │ │ ├── fixture-responses-3.yaml │ │ │ │ │ └── fixture-responses-2.yaml │ │ │ └── local_expansion │ │ │ │ └── item.yaml │ │ │ └── options_test.go │ ├── spf13 │ │ ├── pflag │ │ │ └── .gitignore │ │ └── cast │ │ │ └── .travis.yml │ ├── hashicorp │ │ └── hcl │ │ │ ├── hcl │ │ │ ├── test-fixtures │ │ │ │ ├── empty.hcl │ │ │ │ ├── comment_single.hcl │ │ │ │ ├── list.hcl │ │ │ │ ├── complex_key.hcl │ │ │ │ ├── list_comma.hcl │ │ │ │ ├── multiple.hcl │ │ │ │ ├── structure_empty.hcl │ │ │ │ ├── old.hcl │ │ │ │ ├── array_comment.hcl │ │ │ │ ├── structure_basic.hcl │ │ │ │ ├── assign_colon.hcl │ │ │ │ ├── structure.hcl │ │ │ │ ├── types.hcl │ │ │ │ └── comment.hcl │ │ │ ├── fmtcmd │ │ │ │ └── test-fixtures │ │ │ │ │ ├── dir.ignore │ │ │ │ │ ├── good.hcl │ │ │ │ │ ├── .hidden.ignore │ │ │ │ │ └── file.ignore │ │ │ ├── parser │ │ │ │ ├── test-fixtures │ │ │ │ │ ├── empty.hcl │ │ │ │ │ ├── comment_lastline.hcl │ │ │ │ │ ├── comment_single.hcl │ │ │ │ │ ├── git_crypt.hcl │ │ │ │ │ ├── key_without_value.hcl │ │ │ │ │ ├── complex_key.hcl │ │ │ │ │ ├── list.hcl │ │ │ │ │ ├── list_comma.hcl │ │ │ │ │ ├── multiple.hcl │ │ │ │ │ ├── object_list_comma.hcl │ │ │ │ │ ├── structure_empty.hcl │ │ │ │ │ ├── object_key_without_value.hcl │ │ │ │ │ ├── unterminated_object.hcl │ │ │ │ │ ├── object_key_assign_without_value.hcl │ │ │ │ │ ├── old.hcl │ │ │ │ │ ├── array_comment.hcl │ │ │ │ │ ├── object_key_assign_without_value2.hcl │ │ │ │ │ ├── object_key_assign_without_value3.hcl │ │ │ │ │ ├── assign_deep.hcl │ │ │ │ │ ├── structure_basic.hcl │ │ │ │ │ ├── assign_colon.hcl │ │ │ │ │ ├── structure.hcl │ │ │ │ │ ├── types.hcl │ │ │ │ │ ├── missing_braces.hcl │ │ │ │ │ ├── comment.hcl │ │ │ │ │ ├── unterminated_object_2.hcl │ │ │ │ │ ├── comment_crlf.hcl │ │ │ │ │ └── array_comment_2.hcl │ │ │ │ └── error_test.go │ │ │ └── printer │ │ │ │ └── testdata │ │ │ │ ├── comment_newline.input │ │ │ │ ├── comment_newline.golden │ │ │ │ ├── comment_end_file.input │ │ │ │ ├── comment_end_file.golden │ │ │ │ ├── object_with_heredoc.golden │ │ │ │ ├── object_with_heredoc.input │ │ │ │ ├── list_comment.input │ │ │ │ ├── comment_multiline_no_stanza.input │ │ │ │ ├── comment_multiline_no_stanza.golden │ │ │ │ ├── list_comment.golden │ │ │ │ ├── multiline_string.golden │ │ │ │ ├── multiline_string.input │ │ │ │ ├── list_of_objects.golden │ │ │ │ ├── list_of_objects.input │ │ │ │ ├── empty_block.golden │ │ │ │ ├── comment_object_multi.golden │ │ │ │ ├── comment_object_multi.input │ │ │ │ ├── empty_block.input │ │ │ │ ├── comment_array.input │ │ │ │ ├── comment_array.golden │ │ │ │ ├── comment_multiline_indent.golden │ │ │ │ ├── comment_multiline_indent.input │ │ │ │ ├── comment_multiline_stanza.golden │ │ │ │ └── comment_multiline_stanza.input │ │ │ ├── test-fixtures │ │ │ ├── git_crypt.hcl │ │ │ ├── empty.hcl │ │ │ ├── float.hcl │ │ │ ├── basic_int_string.hcl │ │ │ ├── multiline_no_marker.hcl │ │ │ ├── flat.hcl │ │ │ ├── unterminated_block_comment.hcl │ │ │ ├── block_assign.hcl │ │ │ ├── float.json │ │ │ ├── list_of_lists.hcl │ │ │ ├── multiline.json │ │ │ ├── structure_list_empty.json │ │ │ ├── multiline.hcl │ │ │ ├── multiline_bad.hcl │ │ │ ├── multiline_literal.hcl │ │ │ ├── unterminated_brace.hcl │ │ │ ├── basic.hcl │ │ │ ├── assign_deep.hcl │ │ │ ├── multiline_literal_with_hil.hcl │ │ │ ├── multiline_no_eof.hcl │ │ │ ├── nested_block_comment.hcl │ │ │ ├── basic_squish.hcl │ │ │ ├── multiline_indented.hcl │ │ │ ├── structure_list.hcl │ │ │ ├── basic.json │ │ │ ├── interpolate.json │ │ │ ├── structure_flatmap.hcl │ │ │ ├── structure_multi.hcl │ │ │ ├── tfvars.hcl │ │ │ ├── multiline_no_hanging_indent.hcl │ │ │ ├── scientific.hcl │ │ │ ├── terraform_heroku.hcl │ │ │ ├── terraform_variable_invalid.json │ │ │ ├── null_strings.json │ │ │ ├── structure.hcl │ │ │ ├── object_with_bool.hcl │ │ │ ├── structure_list.json │ │ │ ├── nested_provider_bad.hcl │ │ │ ├── structure.json │ │ │ ├── structure_flat.json │ │ │ ├── list_of_maps.hcl │ │ │ ├── slice_expand.hcl │ │ │ ├── terraform_heroku.json │ │ │ ├── scientific.json │ │ │ ├── structure_multi.json │ │ │ ├── structure2.json │ │ │ ├── structure2.hcl │ │ │ ├── escape.hcl │ │ │ ├── decode_tf_variable.hcl │ │ │ ├── escape_backslash.hcl │ │ │ └── decode_policy.hcl │ │ │ ├── json │ │ │ ├── parser │ │ │ │ └── test-fixtures │ │ │ │ │ ├── bad_input_128.json │ │ │ │ │ ├── basic.json │ │ │ │ │ ├── object.json │ │ │ │ │ ├── array.json │ │ │ │ │ ├── bad_input_tf_8110.json │ │ │ │ │ ├── good_input_tf_8110.json │ │ │ │ │ └── types.json │ │ │ └── test-fixtures │ │ │ │ ├── basic.json │ │ │ │ ├── array.json │ │ │ │ ├── object.json │ │ │ │ └── types.json │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── coreos │ │ └── go-oidc │ │ │ ├── .gitignore │ │ │ ├── MAINTAINERS │ │ │ └── NOTICE │ ├── dgrijalva │ │ └── jwt-go │ │ │ ├── .gitignore │ │ │ ├── test │ │ │ ├── hmacTestKey │ │ │ ├── ec256-public.pem │ │ │ ├── ec384-public.pem │ │ │ └── ec256-private.pem │ │ │ ├── doc.go │ │ │ ├── .travis.yml │ │ │ └── request │ │ │ └── doc.go │ ├── kr │ │ ├── pretty │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── Readme │ │ └── text │ │ │ ├── go.mod │ │ │ ├── doc.go │ │ │ ├── Readme │ │ │ └── colwriter │ │ │ └── Readme │ ├── mailru │ │ └── easyjson │ │ │ ├── .gitignore │ │ │ ├── tests │ │ │ ├── nothing.go │ │ │ └── snake.go │ │ │ ├── .travis.yml │ │ │ └── benchmark │ │ │ └── dummy_test.go │ ├── pelletier │ │ └── go-toml │ │ │ └── .gitignore │ ├── pmezard │ │ └── go-difflib │ │ │ └── .travis.yml │ ├── PuerkitoBio │ │ ├── purell │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ └── urlesc │ │ │ └── .travis.yml │ ├── stretchr │ │ └── testify │ │ │ ├── http │ │ │ └── doc.go │ │ │ ├── .travis.gofmt.sh │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ └── require.go.tmpl │ │ │ ├── assert │ │ │ ├── assertion_format.go.tmpl │ │ │ └── assertion_forward.go.tmpl │ │ │ ├── .travis.govet.sh │ │ │ ├── package_test.go │ │ │ └── .travis.yml │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .editorconfig │ │ │ ├── .github │ │ │ └── PULL_REQUEST_TEMPLATE.md │ │ │ └── .gitignore │ ├── golang │ │ └── protobuf │ │ │ ├── conformance │ │ │ └── conformance.sh │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── .gitignore │ ├── magiconair │ │ └── properties │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── mitchellh │ │ └── mapstructure │ │ │ └── .travis.yml │ ├── jessevdk │ │ └── go-flags │ │ │ ├── tiocgwinsz_linux.go │ │ │ ├── tiocgwinsz_bsdish.go │ │ │ ├── tiocgwinsz_other.go │ │ │ ├── termsize_nosysioctl.go │ │ │ └── examples │ │ │ └── bash-completion │ ├── gorilla │ │ └── handlers │ │ │ └── handlers_pre18.go │ ├── asaskevich │ │ └── govalidator │ │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE.md │ │ │ └── .travis.yml │ ├── toqueteos │ │ └── webbrowser │ │ │ └── .travis.yml │ ├── pquerna │ │ └── cachecontrol │ │ │ └── .travis.yml │ └── go-swagger │ │ └── scan-repo-boundary │ │ └── README.md ├── golang.org │ └── x │ │ ├── net │ │ ├── codereview.cfg │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── h2demo │ │ │ │ ├── rootCA.srl │ │ │ │ └── .gitignore │ │ │ └── Makefile │ │ ├── .gitignore │ │ ├── html │ │ │ ├── charset │ │ │ │ └── testdata │ │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ │ └── UTF-16LE-BOM.html │ │ │ └── testdata │ │ │ │ └── webkit │ │ │ │ └── pending-spec-changes-plain-text-unsafe.dat │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── http │ │ │ └── httpproxy │ │ │ │ └── export_test.go │ │ ├── internal │ │ │ └── socket │ │ │ │ ├── sys_darwin.go │ │ │ │ └── sys_dragonfly.go │ │ └── lif │ │ │ └── sys_solaris_amd64.s │ │ ├── sys │ │ ├── codereview.cfg │ │ ├── unix │ │ │ ├── .gitignore │ │ │ └── endian_big.go │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cpu │ │ │ ├── cpu_arm.go │ │ │ ├── cpu_arm64.go │ │ │ ├── cpu_s390x.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_mips64x.go │ │ │ └── cpu_ppc64x.go │ │ └── plan9 │ │ │ └── asm.s │ │ ├── tools │ │ ├── go │ │ │ ├── loader │ │ │ │ └── testdata │ │ │ │ │ ├── a.go │ │ │ │ │ ├── b.go │ │ │ │ │ └── badpkgdecl.go │ │ │ ├── internal │ │ │ │ ├── gccgoimporter │ │ │ │ │ └── testdata │ │ │ │ │ │ ├── pointer.go │ │ │ │ │ │ ├── conversions.go │ │ │ │ │ │ ├── imports.go │ │ │ │ │ │ ├── pointer.gox │ │ │ │ │ │ ├── time.gox │ │ │ │ │ │ ├── complexnums.go │ │ │ │ │ │ ├── unicode.gox │ │ │ │ │ │ ├── escapeinfo.gox │ │ │ │ │ │ ├── complexnums.gox │ │ │ │ │ │ ├── conversions.gox │ │ │ │ │ │ └── alias.gox │ │ │ │ └── gcimporter │ │ │ │ │ └── testdata │ │ │ │ │ └── issue20046.go │ │ │ ├── ssa │ │ │ │ ├── identical_17.go │ │ │ │ ├── identical.go │ │ │ │ ├── identical_test.go │ │ │ │ └── interp │ │ │ │ │ └── testdata │ │ │ │ │ └── b_test.go │ │ │ ├── gccgoexportdata │ │ │ │ └── testdata │ │ │ │ │ └── errors.gox │ │ │ ├── pointer │ │ │ │ └── testdata │ │ │ │ │ └── recur.go │ │ │ └── ast │ │ │ │ └── astutil │ │ │ │ └── util.go │ │ ├── cmd │ │ │ ├── bundle │ │ │ │ ├── .gitignore │ │ │ │ └── testdata │ │ │ │ │ └── src │ │ │ │ │ ├── domain.name │ │ │ │ │ └── importdecl │ │ │ │ │ │ └── p.go │ │ │ │ │ └── initial │ │ │ │ │ └── c.go │ │ │ ├── heapview │ │ │ │ └── client │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── .clang-format │ │ │ ├── getgo │ │ │ │ ├── .gitignore │ │ │ │ ├── .dockerignore │ │ │ │ └── server │ │ │ │ │ ├── app.yaml │ │ │ │ │ └── README.md │ │ │ ├── guru │ │ │ │ └── testdata │ │ │ │ │ └── src │ │ │ │ │ ├── lib │ │ │ │ │ └── sublib │ │ │ │ │ │ └── sublib.go │ │ │ │ │ ├── definition-json │ │ │ │ │ ├── type.go │ │ │ │ │ ├── main19.go │ │ │ │ │ └── main19.golden │ │ │ │ │ ├── README.txt │ │ │ │ │ ├── describe │ │ │ │ │ └── main19.golden │ │ │ │ │ ├── main │ │ │ │ │ └── multi.go │ │ │ │ │ ├── referrers │ │ │ │ │ └── int_test.go │ │ │ │ │ └── softerrs │ │ │ │ │ └── main.golden │ │ │ ├── fiximports │ │ │ │ └── testdata │ │ │ │ │ └── src │ │ │ │ │ ├── new.com │ │ │ │ │ └── one │ │ │ │ │ │ └── one.go │ │ │ │ │ ├── old.com │ │ │ │ │ ├── one │ │ │ │ │ │ └── one.go │ │ │ │ │ └── bad │ │ │ │ │ │ └── bad.go │ │ │ │ │ ├── fruit.io │ │ │ │ │ ├── pear │ │ │ │ │ │ └── pear.go │ │ │ │ │ ├── orange │ │ │ │ │ │ └── orange.go │ │ │ │ │ └── banana │ │ │ │ │ │ └── banana.go │ │ │ │ │ └── titanic.biz │ │ │ │ │ ├── foo │ │ │ │ │ └── foo.go │ │ │ │ │ └── bar │ │ │ │ │ └── bar.go │ │ │ ├── present │ │ │ │ └── static │ │ │ │ │ └── favicon.ico │ │ │ ├── callgraph │ │ │ │ └── testdata │ │ │ │ │ └── src │ │ │ │ │ └── pkg │ │ │ │ │ └── pkg_test.go │ │ │ ├── tip │ │ │ │ └── talks.yaml │ │ │ ├── godoc │ │ │ │ └── godoc19_test.go │ │ │ └── gorename │ │ │ │ └── cgo_test.go │ │ ├── codereview.cfg │ │ ├── refactor │ │ │ ├── README │ │ │ └── eg │ │ │ │ └── testdata │ │ │ │ ├── no_after_return.template │ │ │ │ ├── no_before.template │ │ │ │ ├── E1.go │ │ │ │ ├── I1.go │ │ │ │ ├── J1.go │ │ │ │ ├── F.template │ │ │ │ ├── type_mismatch.template │ │ │ │ ├── J1.golden │ │ │ │ ├── E1.golden │ │ │ │ ├── J.template │ │ │ │ ├── I1.golden │ │ │ │ ├── D.template │ │ │ │ ├── bad_type.template │ │ │ │ └── A2.go │ │ ├── .gitignore │ │ ├── godoc │ │ │ └── static │ │ │ │ ├── images │ │ │ │ ├── minus.gif │ │ │ │ ├── plus.gif │ │ │ │ ├── treeview-black.gif │ │ │ │ ├── treeview-gray.gif │ │ │ │ ├── treeview-default.gif │ │ │ │ ├── treeview-black-line.gif │ │ │ │ ├── treeview-gray-line.gif │ │ │ │ └── treeview-default-line.gif │ │ │ │ ├── analysis │ │ │ │ ├── call3.png │ │ │ │ ├── chan1.png │ │ │ │ ├── call-eg.png │ │ │ │ ├── callers1.png │ │ │ │ ├── callers2.png │ │ │ │ ├── chan2a.png │ │ │ │ ├── chan2b.png │ │ │ │ ├── error1.png │ │ │ │ ├── ipcg-pkg.png │ │ │ │ ├── ident-def.png │ │ │ │ ├── ident-func.png │ │ │ │ ├── ipcg-func.png │ │ │ │ ├── ident-field.png │ │ │ │ ├── typeinfo-pkg.png │ │ │ │ └── typeinfo-src.png │ │ │ │ └── error.html │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── container │ │ │ └── intsets │ │ │ └── popcnt_gccgo.go │ │ ├── crypto │ │ ├── codereview.cfg │ │ ├── .gitignore │ │ ├── ed25519 │ │ │ └── testdata │ │ │ │ └── sign.input.gz │ │ ├── sha3 │ │ │ └── testdata │ │ │ │ └── keccakKats.json.deflate │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── codereview.cfg │ │ ├── encoding │ │ │ └── testdata │ │ │ │ ├── candide-gb18030.txt │ │ │ │ ├── rashomon-euc-jp.txt │ │ │ │ ├── candide-utf-16le.txt │ │ │ │ ├── candide-utf-32be.txt │ │ │ │ ├── rashomon-shift-jis.txt │ │ │ │ ├── candide-windows-1252.txt │ │ │ │ ├── unsu-joh-eun-nal-euc-kr.txt │ │ │ │ ├── sunzi-bingfa-simplified-gbk.txt │ │ │ │ └── sunzi-bingfa-traditional-big5.txt │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── .gitignore │ │ └── internal │ │ │ └── export │ │ │ └── README │ │ └── oauth2 │ │ ├── google │ │ └── testdata │ │ │ └── gcloud │ │ │ └── properties │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── internal │ │ └── doc.go └── google.golang.org │ └── appengine │ └── demos │ ├── guestbook │ ├── favicon.ico │ └── index.yaml │ └── helloworld │ ├── favicon.ico │ └── app.yaml ├── .dockerignore ├── examples ├── 2.0 │ └── petstore │ │ ├── .gitignore │ │ └── server │ │ └── .gitignore ├── todo-list │ ├── serial │ └── myclient.p12 ├── .gitignore └── oauth2 │ └── img │ └── google-api.png ├── .hound.yml ├── cmd └── swagger │ └── .gitignore ├── .githooks └── pre-commit │ └── 50-regen-bindata ├── hack ├── format.sh └── convert-json-fixtures.sh ├── .github └── ISSUE_TEMPLATE.md ├── book.json └── Dockerfile.dev /docs/CNAME: -------------------------------------------------------------------------------- 1 | goswagger.io 2 | -------------------------------------------------------------------------------- /fixtures/bugs/103/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /generator/templates/tuplefield.gotmpl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/txn/output.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | fixtures 3 | examples 4 | -------------------------------------------------------------------------------- /examples/2.0/petstore/.gitignore: -------------------------------------------------------------------------------- 1 | server2 2 | -------------------------------------------------------------------------------- /examples/todo-list/serial: -------------------------------------------------------------------------------- 1 | D2BBD056586A2017 2 | -------------------------------------------------------------------------------- /examples/2.0/petstore/server/.gitignore: -------------------------------------------------------------------------------- 1 | server 2 | -------------------------------------------------------------------------------- /fixtures/templates/header.gotmpl: -------------------------------------------------------------------------------- 1 | ./header.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/model.gotmpl: -------------------------------------------------------------------------------- 1 | ./model.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/schema.gotmpl: -------------------------------------------------------------------------------- 1 | ./schema.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg1/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg2/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg3/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db1/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db2/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db3/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1a/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1b/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1c/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2a/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2b/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2c/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3a/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3b/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3c/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs4a/db/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fixtures/templates/docstring.gotmpl: -------------------------------------------------------------------------------- 1 | ./docstring.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/inflect/.hgignore: -------------------------------------------------------------------------------- 1 | swp$ 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg1/db/mongod.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fixtures/bugs/1084/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | -------------------------------------------------------------------------------- /fixtures/remotes/integer.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "integer" 3 | } -------------------------------------------------------------------------------- /fixtures/templates/schemabody.gotmpl: -------------------------------------------------------------------------------- 1 | ./schemabody.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/schematype.gotmpl: -------------------------------------------------------------------------------- 1 | ./schematype.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/doc.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/doc.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/main.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/main.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/structfield.gotmpl: -------------------------------------------------------------------------------- 1 | ./structfield.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/tuplefield.gotmpl: -------------------------------------------------------------------------------- 1 | ./tuplefield.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/loader/testdata/a.go: -------------------------------------------------------------------------------- 1 | package P 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/loader/testdata/b.go: -------------------------------------------------------------------------------- 1 | package P 2 | -------------------------------------------------------------------------------- /fixtures/specs/deeper/stringProp.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "string" 3 | } -------------------------------------------------------------------------------- /fixtures/templates/client/client.gotmpl: -------------------------------------------------------------------------------- 1 | ./client/client.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/client/facade.gotmpl: -------------------------------------------------------------------------------- 1 | ./client/facade.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/gen_templates.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo $1 > $1 -------------------------------------------------------------------------------- /fixtures/templates/modelvalidator.gotmpl: -------------------------------------------------------------------------------- 1 | ./modelvalidator.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/builder.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/builder.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-oidc/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | /gopath 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonpointer/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/dir.ignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/good.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/bundle/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/out.got 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /.hound.yml: -------------------------------------------------------------------------------- 1 | fail_on_violations: true 2 | 3 | go: 4 | enabled: true 5 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | gen-test/ 2 | gentest 3 | cloudstem 4 | genesis 5 | -------------------------------------------------------------------------------- /fixtures/bugs/1013/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1062/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1237/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1277/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1314/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1392/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1400/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1437/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1532/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1536/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/1537/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/866/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/910/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/bugs/946/.gitignore: -------------------------------------------------------------------------------- 1 | gen-* 2 | !gen-fixtures.sh 3 | *.log 4 | -------------------------------------------------------------------------------- /fixtures/templates/client/parameter.gotmpl: -------------------------------------------------------------------------------- 1 | ./client/parameter.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/client/response.gotmpl: -------------------------------------------------------------------------------- 1 | ./client/response.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/schemavalidator.gotmpl: -------------------------------------------------------------------------------- 1 | ./schemavalidator.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/operation.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/operation.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/parameter.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/parameter.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/server/responses.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/responses.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/tupleserializer.gotmpl: -------------------------------------------------------------------------------- 1 | ./tupleserializer.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonreference/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl: -------------------------------------------------------------------------------- 1 | GITCRYPT 2 | -------------------------------------------------------------------------------- /fixtures/canary/docker/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/canary/petstore/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/canary/quay.io/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/remotes/folder/folderInteger.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "integer" 3 | } -------------------------------------------------------------------------------- /fixtures/templates/server/configureapi.gotmpl: -------------------------------------------------------------------------------- 1 | ./server/configureapi.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/swagger_json_embed.gotmpl: -------------------------------------------------------------------------------- 1 | ./swagger_json_embed.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bin 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/empty.hcl: -------------------------------------------------------------------------------- 1 | resource "foo" {} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/float.hcl: -------------------------------------------------------------------------------- 1 | a = 1.02 2 | b = 2 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/heapview/client/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /fixtures/canary/bitbucket.org/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/canary/docker-fixed/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/canary/kubernetes/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/canary/ms-cog-sci/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/templates/validation/primitive.gotmpl: -------------------------------------------------------------------------------- 1 | ./validation/primitive.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/errors/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/runtime/fixtures/certs/serial: -------------------------------------------------------------------------------- 1 | A125911D49DAD094 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/strfmt/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | vendor 3 | Godeps 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/.hidden.ignore: -------------------------------------------------------------------------------- 1 | invalid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/file.ignore: -------------------------------------------------------------------------------- 1 | invalid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_lastline.hcl: -------------------------------------------------------------------------------- 1 | #foo -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/comment_single.hcl: -------------------------------------------------------------------------------- 1 | # Hello 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/list.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo"] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl: -------------------------------------------------------------------------------- 1 | count = "3" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl: -------------------------------------------------------------------------------- 1 | foo = << 2 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pretty/.gitignore: -------------------------------------------------------------------------------- 1 | [568].out 2 | _go* 3 | _test* 4 | _obj 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/getgo/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | testgetgo 3 | getgo 4 | -------------------------------------------------------------------------------- /cmd/swagger/.gitignore: -------------------------------------------------------------------------------- 1 | swagger 2 | swagger.json 3 | models 4 | operations 5 | cmd 6 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/docs/favicon.ico -------------------------------------------------------------------------------- /fixtures/canary/ms-cog-sci-fixed/.gitignore: -------------------------------------------------------------------------------- 1 | client 2 | cmd 3 | models 4 | restapi 5 | -------------------------------------------------------------------------------- /fixtures/templates/validation/customformat.gotmpl: -------------------------------------------------------------------------------- 1 | ./validation/customformat.gotmpl 2 | -------------------------------------------------------------------------------- /fixtures/templates/validation/structfield.gotmpl: -------------------------------------------------------------------------------- 1 | ./validation/structfield.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_single.hcl: -------------------------------------------------------------------------------- 1 | # Hello 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/git_crypt.hcl: -------------------------------------------------------------------------------- 1 | GITCRYPT 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/key_without_value.hcl: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/complex_key.hcl: -------------------------------------------------------------------------------- 1 | foo.bar = "baz" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_128.json: -------------------------------------------------------------------------------- 1 | {:{ 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/flat.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | Key = 7 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/heapview/client/.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: Google 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/analysis/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | .idea 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex_key.hcl: -------------------------------------------------------------------------------- 1 | foo.bar = "baz" 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo"] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/list_comma.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo",] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/multiple.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | key = 7 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl: -------------------------------------------------------------------------------- 1 | /* 2 | Foo 3 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.gitignore: -------------------------------------------------------------------------------- 1 | .root 2 | *_easyjson.go 3 | *.iml 4 | .idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/s1/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/s2/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/s3/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /docs/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/docs/favicon-16x16.png -------------------------------------------------------------------------------- /docs/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/docs/favicon-32x32.png -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list_comma.hcl: -------------------------------------------------------------------------------- 1 | foo = [1, 2, "foo",] 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_newline.input: -------------------------------------------------------------------------------- 1 | # Hello 2 | # World 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/structure_empty.hcl: -------------------------------------------------------------------------------- 1 | resource "foo" "bar" {} 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl: -------------------------------------------------------------------------------- 1 | environment = "aws" { 2 | } 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/float.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1.02, 3 | "b": 2 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl: -------------------------------------------------------------------------------- 1 | foo = [["foo"], ["bar"]] 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar\nbaz" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": [] 3 | } 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/google/testdata/gcloud/properties: -------------------------------------------------------------------------------- 1 | [core] 2 | account = bar@example.com -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/loader/testdata/badpkgdecl.go: -------------------------------------------------------------------------------- 1 | // this file has no package decl 2 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg1/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg2/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg3/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db1/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db2/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/db3/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1a/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1b/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1c/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2a/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2b/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2c/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3a/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3b/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3c/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs4a/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | exec cat - > log.txt 4 | -------------------------------------------------------------------------------- /fixtures/templates/additionalpropertiesserializer.gotmpl: -------------------------------------------------------------------------------- 1 | ./additionalpropertiesserializer.gotmpl 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/fixtures/specs/deeper/stringProp.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "string" 3 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | *.cov 4 | *.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/multiple.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | key = 7 3 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/multiline.hcl: -------------------------------------------------------------------------------- 1 | foo = < (@ericchiang) 2 | Rithu Leena John (@rithujohn191) 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/simpleDateTimeProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "string", 3 | "format": "date-time" 4 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithStringProperty.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | properties: 3 | name: {type: string} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/models.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/properties/propertyWithRef.yaml: -------------------------------------------------------------------------------- 1 | $ref: Foo 2 | description: 'a boolean' 3 | readOnly: true 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/stringResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: string 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/properties/propertyWithComplexArray.yaml: -------------------------------------------------------------------------------- 1 | type: array 2 | items: 3 | $ref: ComplexType 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/fixtures/specs/deeper/arrayProp.json: -------------------------------------------------------------------------------- 1 | { 2 | "type":"array", 3 | "items": { 4 | "type": "string" 5 | } 6 | } -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/null_strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "module": { 3 | "app": { 4 | "foo": null 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | ca-certificates.crt 7 | -------------------------------------------------------------------------------- /docs/presentations/Swagger-golangsf_files/burden.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/docs/presentations/Swagger-golangsf_files/burden.jpg -------------------------------------------------------------------------------- /fixtures/bugs/155/gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | go install ../../../cmd/swagger 4 | rm -rf generated 5 | swagger generate server -f swagger.yml -t generated 6 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/test/hmacTestKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/github.com/dgrijalva/jwt-go/test/hmacTestKey -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/properties/propertyWithByteArray.yaml: -------------------------------------------------------------------------------- 1 | type: array 2 | items: 3 | type: string 4 | format: byte 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithStringProperty.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | properties: 3 | name: {type: string} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/models.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/properties/propertyWithRef.yaml: -------------------------------------------------------------------------------- 1 | $ref: Foo 2 | description: 'a boolean' 3 | readOnly: true 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/stringResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: string 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_basic.hcl: -------------------------------------------------------------------------------- 1 | foo { 2 | value = 7 3 | "value" = 8 4 | "complex::value" = 9 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/object_with_heredoc.golden: -------------------------------------------------------------------------------- 1 | obj { 2 | foo = [<>>; 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/identical_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.Identical 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/call-eg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/call-eg.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/callers1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/callers1.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/callers2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/callers2.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/chan2a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/chan2a.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/chan2b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/chan2b.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/error1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/error1.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/ipcg-pkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/ipcg-pkg.png -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1a/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs1 \ 8 | --port 40011 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1b/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs1 \ 8 | --port 40012 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs1c/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs1 \ 8 | --port 40013 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2a/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs2 \ 8 | --port 40021 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2b/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs2 \ 8 | --port 40022 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs2c/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs2 \ 8 | --port 40023 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs4a/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs4 \ 8 | --port 40041 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/internal/json/testdata/code.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/gopkg.in/mgo.v2/internal/json/testdata/code.json.gz -------------------------------------------------------------------------------- /vendor/gopkg.in/square/go-jose.v2/json/testdata/code.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/gopkg.in/square/go-jose.v2/json/testdata/code.json.gz -------------------------------------------------------------------------------- /docs/presentations/Swagger-golangsf_files/param-annotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/docs/presentations/Swagger-golangsf_files/param-annotation.png -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithBooleanArray.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "boolean" 5 | } 6 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithStringArray.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "string" 5 | } 6 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithDateTimeMap.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | additionalProperties: 3 | type: string 4 | format: date-time 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/dateTimeResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A date-time response' 2 | schema: 3 | type: string 4 | format: date-time 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/int32Response.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: integer 4 | format: int32 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/int64Response.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: integer 4 | format: int64 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/types.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | bar = 7 3 | baz = [1,2,3] 4 | foo = -12 5 | bar = 3.14159 6 | foo = true 7 | bar = false 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl: -------------------------------------------------------------------------------- 1 | service "my-service-0" { 2 | key = "value" 3 | } 4 | 5 | service "my-service-1" { 6 | key = "value" 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "terraform-test-app", 3 | "config_vars": { 4 | "FOO": "bar" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/jessevdk/go-flags/tiocgwinsz_bsdish.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd netbsd openbsd 2 | 3 | package flags 4 | 5 | const ( 6 | tIOCGWINSZ = 0x40087468 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/jessevdk/go-flags/tiocgwinsz_other.go: -------------------------------------------------------------------------------- 1 | // +build !darwin,!freebsd,!netbsd,!openbsd,!linux 2 | 3 | package flags 4 | 5 | const ( 6 | tIOCGWINSZ = 0 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/identical.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.IdenticalIgnoreTags 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/ident-def.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/ident-def.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/ident-func.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/ident-func.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/ipcg-func.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/ipcg-func.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/no_after_return.template: -------------------------------------------------------------------------------- 1 | package template 2 | 3 | func before() int { return 0 } 4 | func after() int { println(); return 0 } 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/no_before.template: -------------------------------------------------------------------------------- 1 | package template 2 | 3 | const shouldFail = "no 'before' func found in template" 4 | 5 | func Before() {} 6 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/demos/guestbook/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/google.golang.org/appengine/demos/guestbook/favicon.ico -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithComplexArray.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "$ref": "ComplexType" 5 | } 6 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithDateTimeMap.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | additionalProperties: 3 | type: string 4 | format: date-time 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/dateTimeResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A date-time response' 2 | schema: 3 | type: string 4 | format: date-time 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/runtime/fixtures/certs/myclient.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/github.com/go-openapi/runtime/fixtures/certs/myclient.p12 -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/types.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | bar = 7 3 | baz = [1,2,3] 4 | foo = -12 5 | bar = 3.14159 6 | foo = true 7 | bar = false 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/gccgoexportdata/testdata/errors.gox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/go/gccgoexportdata/testdata/errors.gox -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/ident-field.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/ident-field.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/typeinfo-pkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/typeinfo-pkg.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/analysis/typeinfo-src.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/analysis/typeinfo-src.png -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-black.gif -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-gray.gif -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/demos/guestbook/index.yaml: -------------------------------------------------------------------------------- 1 | indexes: 2 | 3 | - kind: Greeting 4 | ancestor: yes 5 | properties: 6 | - name: Date 7 | direction: desc 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/demos/helloworld/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/google.golang.org/appengine/demos/helloworld/favicon.ico -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-oidc/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/simpleBooleanProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "boolean", 3 | "description": "a boolean", 4 | "readOnly": true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/stringResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A simple string response", 3 | "schema": { 4 | "type": "string" 5 | } 6 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/stringArrayResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A string array response' 2 | schema: 3 | type: array 4 | items: {type: string} 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/go-swagger/bugs/890/path/health_check.yaml: -------------------------------------------------------------------------------- 1 | get: 2 | summary: Health Check 3 | responses: 4 | 200: 5 | description: Server OK -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/handlers_pre18.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package handlers 4 | 5 | type loggingResponseWriter interface { 6 | commonLoggingResponseWriter 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.travis.gofmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ -n "$(gofmt -l .)" ]; then 4 | echo "Go code is not formatted:" 5 | gofmt -d . 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-default.gif -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/README.md: -------------------------------------------------------------------------------- 1 | The MongoDB driver for Go 2 | ------------------------- 3 | 4 | Please go to [http://labix.org/mgo](http://labix.org/mgo) for all project details. 5 | -------------------------------------------------------------------------------- /vendor/github.com/asaskevich/govalidator/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/stringArrayResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A string array response' 2 | schema: 3 | type: array 4 | items: {type: string} 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_comment.input: -------------------------------------------------------------------------------- 1 | foo = [1, # Hello 2 | 2] 3 | 4 | foo = [1, # Hello 5 | 2, # World 6 | ] 7 | 8 | foo = [1, # Hello 9 | ] 10 | -------------------------------------------------------------------------------- /vendor/github.com/jessevdk/go-flags/termsize_nosysioctl.go: -------------------------------------------------------------------------------- 1 | // +build windows plan9 solaris appengine 2 | 3 | package flags 4 | 5 | func getTerminalColumns() int { 6 | return 80 7 | } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/fiximports/testdata/src/fruit.io/banana/banana.go: -------------------------------------------------------------------------------- 1 | package banana 2 | 3 | import ( 4 | _ "old.com/one" 5 | _ "titanic.biz/bar" 6 | _ "titanic.biz/foo" 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/fiximports/testdata/src/old.com/bad/bad.go: -------------------------------------------------------------------------------- 1 | // This ill-formed Go source file is here to ensure the tool is robust 2 | // against bad packages in the workspace. 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/time.gox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/time.gox -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-black-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-black-line.gif -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-gray-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-gray-line.gif -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/E1.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package E1 4 | 5 | import "log" 6 | 7 | func example() { 8 | log.Fatal("oops") // match 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/I1.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package I1 4 | 5 | import "fmt" 6 | 7 | func example() { 8 | _ = fmt.Errorf("%s", "foo") 9 | } 10 | -------------------------------------------------------------------------------- /fixtures/specs/resolution2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "http://localhost:1234", 3 | "items": { 4 | "id": "deeper/", 5 | "items": { 6 | "$ref": "arrayProp.json#/items" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /hack/format.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | find cmd -name "*.go" -exec goimports -w {} \; 4 | find generator -name "*.go" -exec goimports -w {} \; 5 | find scan -name "*.go" -exec goimports -w {} \; 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithInt32Map.yaml: -------------------------------------------------------------------------------- 1 | description: 'This is a Map[String, Integer]' 2 | additionalProperties: 3 | type: integer 4 | format: int32 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/scientific.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1e-10, 3 | "b": 1e+10, 4 | "c": 1e10, 5 | "d": 1.2e-10, 6 | "e": 1.2e+10, 7 | "f": 1.2e10 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure_multi.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": { 3 | "baz": { 4 | "key": 7 5 | }, 6 | 7 | "bar": { 8 | "key": 12 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/guru/testdata/src/definition-json/main19.go: -------------------------------------------------------------------------------- 1 | package definition 2 | 3 | import "nosuchpkg" 4 | 5 | var _ nosuchpkg.T // @definition qualified-nopkg "nosuchpkg" 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/complexnums.go: -------------------------------------------------------------------------------- 1 | package complexnums 2 | 3 | const NN = -1 - 1i 4 | const NP = -1 + 1i 5 | const PN = 1 - 1i 6 | const PP = 1 + 1i 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/unicode.gox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/unicode.gox -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/godoc/static/images/treeview-default-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/godoc/static/images/treeview-default-line.gif -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithByteArray.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "string", 5 | "format": "byte" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithInt32Array.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "integer", 5 | "format": "int32" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithInt64Array.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "integer", 5 | "format": "int64" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/pathStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: username 2 | in: path 3 | description: 'username to fetch' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/complexArrayResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A complex object array response' 2 | schema: 3 | type: array 4 | items: {$ref: VeryComplexType} 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithInt32Map.yaml: -------------------------------------------------------------------------------- 1 | description: 'This is a Map[String, Integer]' 2 | additionalProperties: 3 | type: integer 4 | format: int32 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/callgraph/testdata/src/pkg/pkg_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | // Don't import "testing", it adds a lot of callgraph edges. 4 | 5 | func Example() { 6 | C(0).f() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/escapeinfo.gox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/escapeinfo.gox -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/s3/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongos $COMMONSOPTS \ 6 | --port 40203 \ 7 | --configdb 127.0.0.1:40103 \ 8 | --keyFile=../../certs/keyfile 9 | -------------------------------------------------------------------------------- /fixtures/bugs/825/swagger.yml: -------------------------------------------------------------------------------- 1 | --- 2 | swagger: '2.0' 3 | info: 4 | version: 0.0.0 5 | title: Simple API 6 | paths: 7 | /: 8 | responses: 9 | 200: 10 | description: OK 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/modelWithInt64Map.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "true", 3 | "additionalProperties": { 4 | "type": "integer", 5 | "format": "int64" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/modelWithStringProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "true", 3 | "properties": { 4 | "name": { 5 | "type": "string" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/properties/propertyWithDateTimeArray.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "array", 3 | "items": { 4 | "type": "string", 5 | "format": "date-time" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/formDataStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: firstName 2 | in: formData 3 | description: 'users first name' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/pathStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: username 2 | in: path 3 | description: 'username to fetch' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/complexArrayResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'A complex object array response' 2 | schema: 3 | type: array 4 | items: {$ref: VeryComplexType} 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_tf_8110.json: -------------------------------------------------------------------------------- 1 | { 2 | "variable": { 3 | "poc": { 4 | "default": "${replace("europe-west", "-", " ")}" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure2.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": [{ 3 | "baz": { 4 | "key": 7, 5 | "foo": "bar" 6 | } 7 | }, { 8 | "key": 7 9 | }] 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xzya/go-swagger/master/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/J1.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package I1 4 | 5 | import "fmt" 6 | 7 | func example() { 8 | temp := 5 9 | fmt.Print(temp + temp + temp) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/modelWithDateTimeMap.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "true", 3 | "additionalProperties": { 4 | "type": "string", 5 | "format": "date-time" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/int32Response.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A simple string response", 3 | "schema": { 4 | "type": "integer", 5 | "format": "int32" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/int64Response.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A simple string response", 3 | "schema": { 4 | "type": "integer", 5 | "format": "int64" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithArrayRef.yaml: -------------------------------------------------------------------------------- 1 | required: 2 | - id 3 | properties: 4 | id: {type: integer, format: int64} 5 | children: {type: array, items: {$ref: Person}} 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/formDataComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: firstName 2 | in: formData 3 | description: 'users first name' 4 | required: true 5 | $ref: Nothing 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/headerStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: token 2 | in: header 3 | description: 'token to be passed as a header' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/pathInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: path 3 | description: 'username to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/formDataStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: firstName 2 | in: formData 3 | description: 'users first name' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error_test.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestPosError_impl(t *testing.T) { 8 | var _ error = new(PosError) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/good_input_tf_8110.json: -------------------------------------------------------------------------------- 1 | { 2 | "variable": { 3 | "poc": { 4 | "default": "${replace(\"europe-west\", \"-\", \" \")}" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/structure2.hcl: -------------------------------------------------------------------------------- 1 | // This is a test structure for the lexer 2 | foo "baz" { 3 | key = 7 4 | foo = "bar" 5 | } 6 | 7 | foo { 8 | key = 7 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/F.template: -------------------------------------------------------------------------------- 1 | package templates 2 | 3 | // Test 4 | 5 | import "sync" 6 | 7 | func before(s sync.RWMutex) { s.Lock() } 8 | func after(s sync.RWMutex) { s.RLock() } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/analysis/fixtures/empty-paths.json: -------------------------------------------------------------------------------- 1 | { 2 | "swagger": "2.0", 3 | "info": { 4 | "title": "empty-paths", 5 | "version": "79.2.1" 6 | }, 7 | "paths": {} 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/dateTimeResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A date-time response", 3 | "schema": { 4 | "type": "string", 5 | "format": "date-time" 6 | } 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/bodyComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | $ref: User 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/bodyStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: string 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithArrayRef.yaml: -------------------------------------------------------------------------------- 1 | required: 2 | - id 3 | properties: 4 | id: {type: integer, format: int64} 5 | children: {type: array, items: {$ref: Person}} 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/formDataComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: firstName 2 | in: formData 3 | description: 'users first name' 4 | required: true 5 | $ref: Nothing 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/headerStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: token 2 | in: header 3 | description: 'token to be passed as a header' 4 | required: true 5 | type: string 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/pathInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: path 3 | description: 'username to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/missing_braces.hcl: -------------------------------------------------------------------------------- 1 | # should error, but not crash 2 | resource "template_file" "cloud_config" { 3 | template = "$file("${path.module}/some/path")" 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4.x 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - "1.10.x" 10 | - tip 11 | -------------------------------------------------------------------------------- /vendor/github.com/toqueteos/webbrowser/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - tip 9 | 10 | script: 11 | - go get -t ./... 12 | - go test ./... 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/cfg3/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONCOPTS \ 6 | --port 40103 \ 7 | --configsvr \ 8 | --auth \ 9 | --keyFile=../../certs/keyfile 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - 1.7 8 | - 1.8 9 | - 1.9 10 | - tip 11 | 12 | go_import_path: gopkg.in/yaml.v2 13 | -------------------------------------------------------------------------------- /docs/generate/spec/ignore.md: -------------------------------------------------------------------------------- 1 | # swagger:ignore 2 | 3 | Marks a struct as explicitly ignore from the Swagger spec output 4 | 5 | 6 | 7 | ##### Syntax: 8 | 9 | ``` 10 | swagger:ignore 11 | ``` 12 | -------------------------------------------------------------------------------- /fixtures/bugs/776/error.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Error: 3 | type: object 4 | properties: 5 | code: 6 | type: integer 7 | format: int32 8 | message: 9 | type: string 10 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/doc.go: -------------------------------------------------------------------------------- 1 | // Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html 2 | // 3 | // See README.md for more info. 4 | package jwt 5 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | #### What does this pull request do? 2 | 3 | 4 | #### Where should the reviewer start? 5 | 6 | 7 | #### How should this be manually tested? 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/bodyInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: body 3 | description: 'id to add' 4 | required: true 5 | schema: 6 | type: integer 7 | format: int64 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/formDataInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: formData 3 | description: 'username to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/queryStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'ID of the object to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/bodyComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | $ref: User 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/bodyStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: string 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/post_go18.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package swag 4 | 5 | import "net/url" 6 | 7 | func pathUnescape(path string) (string, error) { 8 | return url.PathUnescape(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/go-swagger/remotes/subSchemas.json: -------------------------------------------------------------------------------- 1 | { 2 | "integer": { 3 | "type": "integer" 4 | }, 5 | "refToInteger": { 6 | "$ref": "#/integer" 7 | } 8 | } -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.input: -------------------------------------------------------------------------------- 1 | # This is a multiline comment 2 | # That has values like this: 3 | # 4 | # ami-abcd1234 5 | # 6 | # Do not delete this comment 7 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentFormat}} 2 | func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { 3 | return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 4 | } 5 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { 4 | t.FailNow() 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/type_mismatch.template: -------------------------------------------------------------------------------- 1 | package template 2 | 3 | const shouldFail = "different signatures" 4 | 5 | func before() int { return 0 } 6 | func after() string { return "" } 7 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3a/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs3 \ 8 | --port 40031 \ 9 | --keyFile=../../certs/keyfile 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3b/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs3 \ 8 | --port 40032 \ 9 | --keyFile=../../certs/keyfile 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/harness/daemons/rs3c/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ../.env 4 | 5 | exec mongod $COMMONDOPTS \ 6 | --shardsvr \ 7 | --replSet rs3 \ 8 | --port 40033 \ 9 | --keyFile=../../certs/keyfile 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: body 3 | description: 'id to add' 4 | required: true 5 | schema: 6 | type: integer 7 | format: int64 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: formData 3 | description: 'username to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/queryStringParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'ID of the object to fetch' 4 | required: true 5 | type: integer 6 | format: int64 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/pre_go18.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package swag 4 | 5 | import "net/url" 6 | 7 | func pathUnescape(path string) (string, error) { 8 | return url.QueryUnescape(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/jsonschema_suite/remotes/subSchemas.json: -------------------------------------------------------------------------------- 1 | { 2 | "integer": { 3 | "type": "integer" 4 | }, 5 | "refToInteger": { 6 | "$ref": "#/integer" 7 | } 8 | } -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object_2.hcl: -------------------------------------------------------------------------------- 1 | resource "aws_eip" "EIP1" { a { a { a { a { a { 2 | count = "1" 3 | 4 | resource "aws_eip" "EIP2" { 5 | count = "1" 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.golden: -------------------------------------------------------------------------------- 1 | # This is a multiline comment 2 | # That has values like this: 3 | # 4 | # ami-abcd1234 5 | # 6 | # Do not delete this comment 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_comment.golden: -------------------------------------------------------------------------------- 1 | foo = [ 2 | 1, # Hello 3 | 2, 4 | ] 5 | 6 | foo = [ 7 | 1, # Hello 8 | 2, # World 9 | ] 10 | 11 | foo = [ 12 | 1, # Hello 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/test-fixtures/comment.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /vendor/github.com/pquerna/cachecontrol/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | install: 4 | - go get -d -v ./... 5 | - go get -u github.com/stretchr/testify/require 6 | 7 | go: 8 | - 1.7 9 | - 1.8 10 | - tip 11 | -------------------------------------------------------------------------------- /hack/convert-json-fixtures.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | json2yaml fixtures/json -s -r 4 | cp -a fixtures/json/* fixtures/yaml 5 | find fixtures/yaml -name '*.json' -exec rm -rf {} \; 6 | find fixtures/json -name '*.yaml' -exec rm -rf {} \; -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | script: 4 | - go vet ./... 5 | - go test -v ./... 6 | 7 | go: 8 | - 1.3 9 | - 1.4 10 | - 1.5 11 | - 1.6 12 | - 1.7 13 | - tip 14 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/fixtures/specs/resolution2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "http://localhost:1234", 3 | "items": { 4 | "id": "deeper/", 5 | "items": { 6 | "$ref": "arrayProp.json#/items" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/go-swagger/scan-repo-boundary/README.md: -------------------------------------------------------------------------------- 1 | # TestRepo 2 | 3 | This is a repo that is used in the tests of the go-swagger project. 4 | It's is only here to test finding files across repository boundaries. 5 | 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/guru/testdata/src/definition-json/main19.golden: -------------------------------------------------------------------------------- 1 | -------- @definition qualified-nopkg -------- 2 | { 3 | "objpos": "testdata/src/definition-json/main19.go:3:8", 4 | "desc": "package nosuchpkg" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/J1.golden: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package I1 4 | 5 | import "fmt" 6 | 7 | func example() { 8 | temp := 5 9 | temp := temp + temp 10 | fmt.Print(temp + temp) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/models/modelWithInt32Map.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "This is a Map[String, Integer]", 3 | "additionalProperties": { 4 | "type": "integer", 5 | "format": "int32" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/pathStringParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "username", 3 | "in": "path", 4 | "description": "username to fetch", 5 | "required": true, 6 | "type": "string" 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/queryWithComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'a complex object which should not validate' 4 | required: true 5 | schema: 6 | $ref: Pet 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/stringResponseWithHeader.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: string 4 | headers: 5 | is-dog: {type: boolean} 6 | is-cat: {type: boolean} 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/runtime/middleware/go18.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package middleware 4 | 5 | import "net/url" 6 | 7 | func pathUnescape(path string) (string, error) { 8 | return url.PathUnescape(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/escape.hcl: -------------------------------------------------------------------------------- 1 | foo = "bar\"baz\\n" 2 | bar = "new\nline" 3 | qux = "back\\slash" 4 | qax = "slash\\:colon" 5 | nested = "${HH\\:mm\\:ss}" 6 | nestedquotes = "${"\"stringwrappedinquotes\""}" 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/guru/testdata/src/describe/main19.golden: -------------------------------------------------------------------------------- 1 | -------- @describe badimport1 -------- 2 | import of package "nosuchpkg" 3 | 4 | -------- @describe badimport2 -------- 5 | reference to package "nosuchpkg" 6 | 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithPrimitiveArray.yaml: -------------------------------------------------------------------------------- 1 | required: 2 | - id 3 | properties: 4 | id: {type: integer, format: int64} 5 | childrensAges: {type: array, items: {type: integer, format: int32}} 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'a complex object which should not validate' 4 | required: true 5 | schema: 6 | $ref: Pet 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/responses/stringResponseWithHeader.yaml: -------------------------------------------------------------------------------- 1 | description: 'A simple string response' 2 | schema: 3 | type: string 4 | headers: 5 | is-dog: {type: boolean} 6 | is-cat: {type: boolean} 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_crlf.hcl: -------------------------------------------------------------------------------- 1 | // Foo 2 | 3 | /* Bar */ 4 | 5 | /* 6 | /* 7 | Baz 8 | */ 9 | 10 | # Another 11 | 12 | # Multiple 13 | # Lines 14 | 15 | foo = "bar" 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.golden: -------------------------------------------------------------------------------- 1 | resource "null_resource" "some_command" { 2 | provisioner "local-exec" { 3 | command = "${echo ' 4 | some newlines 5 | and additonal output'}" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.input: -------------------------------------------------------------------------------- 1 | resource "null_resource" "some_command" { 2 | provisioner "local-exec" { 3 | command = "${echo ' 4 | some newlines 5 | and additonal output'}" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/.travis.govet.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd "$(dirname $0)" 4 | DIRS=". assert require mock _codegen" 5 | set -e 6 | for subdir in $DIRS; do 7 | pushd $subdir 8 | go vet 9 | popd 10 | done 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /vendor/github.com/asaskevich/govalidator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.1 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | - tip 11 | 12 | notifications: 13 | email: 14 | - bwatas@gmail.com 15 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/formDataComplexParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "firstName", 3 | "in": "formData", 4 | "description": "users first name", 5 | "required": true, 6 | "$ref": "Nothing" 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/formDataStringParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "firstName", 3 | "in": "formData", 4 | "description": "users first name", 5 | "required": true, 6 | "type": "string" 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/stringArrayResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A string array response", 3 | "schema": { 4 | "type": "array", 5 | "items": { 6 | "type": "string" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/formDataStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: formData 3 | description: 'user to add to the system' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithPrimitiveArray.yaml: -------------------------------------------------------------------------------- 1 | required: 2 | - id 3 | properties: 4 | id: {type: integer, format: int64} 5 | childrensAges: {type: array, items: {type: integer, format: int32}} 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/runtime/middleware/pre_go18.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package middleware 4 | 5 | import "net/url" 6 | 7 | func pathUnescape(path string) (string, error) { 8 | return url.QueryUnescape(path) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/go-swagger/specs/resolution2.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "http://localhost:1234", 3 | "items": { 4 | "id": "deeper/", 5 | "items": { 6 | "$ref": "arrayProp.json#/items" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_of_objects.golden: -------------------------------------------------------------------------------- 1 | list_of_objects = [ 2 | { 3 | key1 = "value1" 4 | key2 = "value2" 5 | }, 6 | { 7 | key3 = "value3" 8 | key4 = "value4" 9 | }, 10 | ] 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl: -------------------------------------------------------------------------------- 1 | variable "foo" { 2 | default = "bar" 3 | description = "bar" 4 | } 5 | 6 | variable "amis" { 7 | default = { 8 | east = "foo" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/kr/pretty/Readme: -------------------------------------------------------------------------------- 1 | package pretty 2 | 3 | import "github.com/kr/pretty" 4 | 5 | Package pretty provides pretty-printing for Go values. 6 | 7 | Documentation 8 | 9 | http://godoc.org/github.com/kr/pretty 10 | -------------------------------------------------------------------------------- /vendor/github.com/kr/text/colwriter/Readme: -------------------------------------------------------------------------------- 1 | Package colwriter provides a write filter that formats 2 | input lines in multiple columns. 3 | 4 | The package is a straightforward translation from 5 | /src/cmd/draw/mc.c in Plan 9 from User Space. 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/identical_test.go: -------------------------------------------------------------------------------- 1 | //+build go1.8 2 | 3 | package ssa_test 4 | 5 | import "testing" 6 | 7 | func TestValueForExprStructConv(t *testing.T) { 8 | testValueForExpr(t, "testdata/structconv.go") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/interp/testdata/b_test.go: -------------------------------------------------------------------------------- 1 | package b 2 | 3 | import "testing" 4 | 5 | func NotATest(t *testing.T) { 6 | t.Error("foo") 7 | } 8 | 9 | func NotABenchmark(b *testing.B) { 10 | b.Error("wiz") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/urlesc/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.x 5 | - 1.5.x 6 | - 1.6.x 7 | - 1.7.x 8 | - 1.8.x 9 | - tip 10 | 11 | install: 12 | - go build . 13 | 14 | script: 15 | - go test -v 16 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/test/ec256-public.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYD54V/vp+54P9DXarYqx4MPcm+HK 3 | RIQzNasYSoRQHQ/6S6Ps8tpMcT+KvIIC8W/e9k0W7Cm72M1P9jU7SLf/vg== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/headerStringParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "token", 3 | "in": "header", 4 | "description": "token to be passed as a header", 5 | "required": true, 6 | "type": "string" 7 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/bodyStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: array 7 | items: {type: string} 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: formData 3 | description: 'user to add to the system' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/schemas/v2/README.md: -------------------------------------------------------------------------------- 1 | # Swagger 2.0 specification schema 2 | 3 | This folder contains the Swagger 2.0 specification schema files maintained here: 4 | 5 | https://github.com/reverb/swagger-spec/blob/master/schemas/v2.0 -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/go-swagger/bugs/825/swagger.yml: -------------------------------------------------------------------------------- 1 | --- 2 | swagger: '2.0' 3 | info: 4 | version: 0.0.0 5 | title: Simple API 6 | paths: 7 | /: 8 | responses: 9 | 200: 10 | description: OK 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/test-fixtures/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | "bar": 7, 4 | "baz": [1,2,3], 5 | "foo": -12, 6 | "bar": 3.14159, 7 | "foo": true, 8 | "bar": false, 9 | "foo": null 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl: -------------------------------------------------------------------------------- 1 | output { 2 | one = "${replace(var.sub_domain, ".", "\\.")}" 3 | two = "${replace(var.sub_domain, ".", "\\\\.")}" 4 | many = "${replace(var.sub_domain, ".", "\\\\\\\\.")}" 5 | } 6 | -------------------------------------------------------------------------------- /fixtures/bugs/776/item.yaml: -------------------------------------------------------------------------------- 1 | type: object 2 | required: 3 | - title 4 | properties: 5 | id: 6 | type: integer 7 | format: uint64 8 | readOnly: true 9 | title: 10 | type: string 11 | minLength: 2 12 | maxLength: 80 13 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/analysis/fixtures/external/definitions2.yml: -------------------------------------------------------------------------------- 1 | coordinate: 2 | type: object 3 | properties: 4 | id: 5 | type: integer 6 | format: int64 7 | createdAt: 8 | type: string 9 | format: date-time -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: array 7 | items: {type: string} 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/json/parser/test-fixtures/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar", 3 | "bar": 7, 4 | "baz": [1,2,3], 5 | "foo": -12, 6 | "bar": 3.14159, 7 | "foo": true, 8 | "bar": false, 9 | "foo": null 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/guru/testdata/src/main/multi.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func g(x int) { 4 | } 5 | 6 | func f() { 7 | x := 1 8 | g(x) // "g(x)" is the selection for multiple queries 9 | } 10 | 11 | func main() { 12 | f() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/pointer/testdata/recur.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package main 4 | 5 | // Analysis abstraction of recursive calls is finite. 6 | 7 | func main() { 8 | main() 9 | } 10 | 11 | // @calls main.main -> main.main 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/dbtest/export_test.go: -------------------------------------------------------------------------------- 1 | package dbtest 2 | 3 | import ( 4 | "os" 5 | ) 6 | 7 | func (dbs *DBServer) ProcessTest() *os.Process { 8 | if dbs.server == nil { 9 | return nil 10 | } 11 | return dbs.server.Process 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/formDataInt64Parameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "id", 3 | "in": "formData", 4 | "description": "username to fetch", 5 | "required": true, 6 | "type": "integer", 7 | "format": "int64" 8 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/pathInt64Parameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "id", 3 | "in": "path", 4 | "description": "username to fetch", 5 | "required": true, 6 | "type": "integer", 7 | "format": "int64" 8 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/responses/complexArrayResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A complex object array response", 3 | "schema": { 4 | "type": "array", 5 | "items": { 6 | "$ref": "VeryComplexType" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/modelWithExamples.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | Dog: {properties: {id: {type: integer, format: int64}, name: {type: string}}, required: [name]} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/models/multipleModels.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | Dog: {properties: {id: {type: integer, format: int64}, name: {type: string}}, required: [name]} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/pathStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: usernames 2 | in: path 3 | description: 'usernames to pass' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | collectionFormat: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment_2.hcl: -------------------------------------------------------------------------------- 1 | provisioner "remote-exec" { 2 | scripts = [ 3 | "${path.module}/scripts/install-consul.sh" // missing comma 4 | "${path.module}/scripts/install-haproxy.sh" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/list_of_objects.input: -------------------------------------------------------------------------------- 1 | list_of_objects = [ 2 | { 3 | key1 = "value1" 4 | key2 = "value2" 5 | }, 6 | { 7 | key3 = "value3" 8 | key4 = "value4" 9 | } 10 | ] -------------------------------------------------------------------------------- /vendor/golang.org/x/text/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .gitignore except for files generated by the build. 2 | last-change 3 | /DATA 4 | # This file is rather large and the tests really only need to be run 5 | # after generation. 6 | /unicode/norm/data_test.go -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/export/README: -------------------------------------------------------------------------------- 1 | The export directory contains packages that are generated using the x/text 2 | infrastructure, but live elsewhere. 3 | At some point we can expose some of the infrastructure, but for now this 4 | is not done. 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/tip/talks.yaml: -------------------------------------------------------------------------------- 1 | service: talks 2 | runtime: custom 3 | env: flex 4 | 5 | manual_scaling: 6 | instances: 1 7 | 8 | env_variables: 9 | TIP_BUILDER: 'talks' 10 | 11 | health_check: 12 | enable_health_check: False 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/E1.golden: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package E1 4 | 5 | import ( 6 | "fmt" 7 | "log" 8 | "os" 9 | ) 10 | 11 | func example() { 12 | fmt.Fprintf(os.Stderr, "warning: %v", "oops") // match 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/J.template: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package templates 4 | 5 | import () 6 | 7 | func before(x int) int { return x + x + x } 8 | func after(x int) int { 9 | temp := x + x 10 | return temp + x 11 | } 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/demos/helloworld/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: go 2 | api_version: go1 3 | vm: true 4 | 5 | handlers: 6 | - url: /favicon.ico 7 | static_files: favicon.ico 8 | upload: favicon.ico 9 | - url: /.* 10 | script: _go_app 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/bodyComplexParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "user", 3 | "in": "body", 4 | "description": "user to add to the system", 5 | "required": true, 6 | "schema": { 7 | "$ref": "User" 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/bodyStringParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "user", 3 | "in": "body", 4 | "description": "user to add to the system", 5 | "required": true, 6 | "schema": { 7 | "type": "string" 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/queryStringParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "id", 3 | "in": "query", 4 | "description": "ID of the object to fetch", 5 | "required": true, 6 | "type": "integer", 7 | "format": "int64" 8 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/bodyComplexArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: array 7 | items: {type: string} 8 | format: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithExamples.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | Dog: {properties: {id: {type: integer, format: int64}, name: {type: string}}, required: [name]} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/multipleModels.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Pet: {properties: {name: {type: string}}, required: [name]} 3 | Dog: {properties: {id: {type: integer, format: int64}, name: {type: string}}, required: [name]} 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: usernames 2 | in: path 3 | description: 'usernames to pass' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | collectionFormat: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.golden: -------------------------------------------------------------------------------- 1 | variable "foo" {} 2 | variable "foo" {} 3 | 4 | variable "foo" { 5 | # Standalone comment should be still here 6 | } 7 | 8 | foo {} 9 | 10 | foo { 11 | bar = "mssola" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: required 3 | go: 4 | - 1.7.5 5 | - 1.8 6 | - tip 7 | os: 8 | - linux 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | fast_finish: true 13 | script: 14 | - make check 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 32 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 64 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_s390x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 256 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/refactor/eg/testdata/I1.golden: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package I1 4 | 5 | import ( 6 | "errors" 7 | "fmt" 8 | ) 9 | 10 | func example() { 11 | 12 | n := fmt.Sprintf("error - %s", "foo") 13 | _ = errors.New(n) 14 | } 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Problem statement 2 | 3 | Please remove the sections that don't apply 4 | 5 | ## Swagger specification 6 | 7 | ## Steps to reproduce 8 | 9 | ## Environment 10 | swagger version: x.x.x 11 | go version: x.x.x 12 | OS: 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/headerStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: token 2 | in: header 3 | description: 'token to be passed as a header' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | collectionFormat: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: user 2 | in: body 3 | description: 'user to add to the system' 4 | required: true 5 | schema: 6 | type: array 7 | items: {type: string} 8 | format: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/fixtures/go-swagger/bugs/776/error.yaml: -------------------------------------------------------------------------------- 1 | definitions: 2 | Error: 3 | type: object 4 | properties: 5 | code: 6 | type: integer 7 | format: int32 8 | message: 9 | type: string 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/complexnums.gox: -------------------------------------------------------------------------------- 1 | v1; 2 | package complexnums; 3 | pkgpath complexnums; 4 | priority 1; 5 | const NN = -0.1E1-0.1E1i ; 6 | const NP = -0.1E1+0.1E1i ; 7 | const PN = 0.1E1-0.1E1i ; 8 | const PP = 0.1E1+0.1E1i ; 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/conversions.gox: -------------------------------------------------------------------------------- 1 | v2; 2 | package conversions; 3 | prefix go; 4 | package conversions go.conversions go.conversions; 5 | const Bits > = convert(, "bits"); 6 | type ; 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: token 2 | in: header 3 | description: 'token to be passed as a header' 4 | required: true 5 | type: array 6 | items: 7 | type: string 8 | collectionFormat: csv 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/validate/options_test.go: -------------------------------------------------------------------------------- 1 | package validate 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | // This test must be synchronized to avoid issues with -race 8 | // TODO(TEST) 9 | func TestOptions_SetContinueOnErrors(t *testing.T) { 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_object_multi.golden: -------------------------------------------------------------------------------- 1 | variable "environment" { 2 | default = {} 3 | 4 | # default { 5 | # "region" = "us-west-2" 6 | # "sg" = "playground" 7 | # "env" = "prod" 8 | # } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_object_multi.input: -------------------------------------------------------------------------------- 1 | variable "environment" { 2 | default = {} 3 | 4 | # default { 5 | # "region" = "us-west-2" 6 | # "sg" = "playground" 7 | # "env" = "prod" 8 | # } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/empty_block.input: -------------------------------------------------------------------------------- 1 | variable "foo" {} 2 | variable "foo" { 3 | } 4 | 5 | variable "foo" { 6 | # Standalone comment should be still here 7 | } 8 | 9 | foo { 10 | } 11 | 12 | foo { 13 | bar = "mssola" 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl: -------------------------------------------------------------------------------- 1 | key "" { 2 | policy = "read" 3 | } 4 | 5 | key "foo/" { 6 | policy = "write" 7 | } 8 | 9 | key "foo/bar/" { 10 | policy = "read" 11 | } 12 | 13 | key "foo/bar/baz" { 14 | policy = "deny" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_array.input: -------------------------------------------------------------------------------- 1 | banana = [ 2 | # I really want to comment this item in the array. 3 | "a", 4 | 5 | # This as well 6 | "b", 7 | 8 | "c", # And C 9 | "d", 10 | 11 | # And another 12 | "e", 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gccgoimporter/testdata/alias.gox: -------------------------------------------------------------------------------- 1 | v1; 2 | package alias; 3 | pkgpath alias; 4 | type >>>) < type 114>; M2 () ; }>>; 5 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/syscall_windows_test.go: -------------------------------------------------------------------------------- 1 | package mgo_test 2 | 3 | func stop(pid int) (err error) { 4 | panicOnWindows() // Always does. 5 | return nil 6 | } 7 | 8 | func cont(pid int) (err error) { 9 | panicOnWindows() // Always does. 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /book.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": "./docs", 3 | "plugins": [ "forkmegithub", "prism", "-highlight", "anchors" ], 4 | "pluginsConfig": { 5 | "forkmegithub": { 6 | "url": "https://github.com/go-swagger/go-swagger", 7 | "color": "green" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/bodyInt64Parameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "id", 3 | "in": "body", 4 | "description": "id to add", 5 | "required": true, 6 | "schema": { 7 | "type": "integer", 8 | "format": "int64" 9 | } 10 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/json/resources/parameters/queryWithComplexParameter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "id", 3 | "in": "query", 4 | "description": "a complex object which should not validate", 5 | "required": true, 6 | "schema": { 7 | "$ref": "Pet" 8 | } 9 | } -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_array.golden: -------------------------------------------------------------------------------- 1 | banana = [ 2 | # I really want to comment this item in the array. 3 | "a", 4 | 5 | # This as well 6 | "b", 7 | 8 | "c", # And C 9 | "d", 10 | 11 | # And another 12 | "e", 13 | ] 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/saslstub.go: -------------------------------------------------------------------------------- 1 | //+build !sasl 2 | 3 | package mgo 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func saslNew(cred Credential, host string) (saslStepper, error) { 10 | return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/square/go-jose.v2/jose-util/ec.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE9yoUEAgxTd9svwe9oPqjhcP+f2jcdTL2 3 | Wq8Aw2v9ht1dBy00tFRPNrCxFCkvMcJFhSPoDUV5NL7zfh3/psiSNYziGPrWEJYf 4 | gmYihjSeoOf0ru1erpBrTflImPrMftCy 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /fixtures/goparsing/classification/README.md: -------------------------------------------------------------------------------- 1 | # classification example 2 | 3 | This fixture is incomplete in terms of implementation. it's meant to be used in unit tests to validate the 4 | parsing and classification functionality not really as an application that serves actual requests. 5 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/test/ec384-public.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2Gu6yWlO33izKqwMemnWRTUDqWlB/1Mp 3 | W2S64jizjeWBVcLVVKTtRXxF2VCEKabUT7XOYsSD2OufMoQUm+oq3yCVEj/WmE35 4 | SRipP5g5CuLfJlgc4Yg+Qeo4PXBBoRoA 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/resources/parameters/queryInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'ID of the object to fetch' 4 | required: true 5 | type: array 6 | items: 7 | type: integer 8 | format: int64 9 | collectionFormat: csv 10 | -------------------------------------------------------------------------------- /vendor/github.com/jessevdk/go-flags/examples/bash-completion: -------------------------------------------------------------------------------- 1 | _examples() { 2 | args=("${COMP_WORDS[@]:1:$COMP_CWORD}") 3 | 4 | local IFS=$'\n' 5 | COMPREPLY=($(GO_FLAGS_COMPLETION=1 ${COMP_WORDS[0]} "${args[@]}")) 6 | return 1 7 | } 8 | 9 | complete -F _examples examples 10 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | install: 6 | - go get github.com/ugorji/go/codec 7 | - go get github.com/pquerna/ffjson/fflib/v1 8 | - go get github.com/json-iterator/go 9 | - go get github.com/golang/lint/golint 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/bundle/testdata/src/initial/c.go: -------------------------------------------------------------------------------- 1 | package initial 2 | 3 | import _ "fmt" 4 | import renamedfmt "fmt" 5 | import renamedfmt2 "fmt" 6 | import . "fmt" 7 | 8 | func baz() { 9 | renamedfmt.Println() 10 | renamedfmt2.Println() 11 | Println() 12 | } 13 | -------------------------------------------------------------------------------- /fixtures/specs/resolution.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "http://localhost:1234", 3 | "items": { 4 | "id": "deeper/", 5 | "items": { 6 | "$ref": "stringProp.json" 7 | } 8 | }, 9 | "definitions": { 10 | "bool": { 11 | "$ref": "boolProp.json" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/responses/multipleResponses.yaml: -------------------------------------------------------------------------------- 1 | '200': 2 | description: 'simple string response' 3 | schema: {type: string} 4 | '201': 5 | description: 'object created' 6 | default: 7 | description: oops 8 | schema: {type: integer, format: int32} 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- 1 | name: id 2 | in: query 3 | description: 'ID of the object to fetch' 4 | required: true 5 | type: array 6 | items: 7 | type: integer 8 | format: int64 9 | collectionFormat: csv 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden: -------------------------------------------------------------------------------- 1 | resource "provider" "resource" { 2 | /* 3 | SPACE_SENSITIVE_CODE = < 6 | 7 |

8 | {{html .}} 9 |

10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/loads/fixtures/yaml/yaml/models/modelWithObjectMap.yaml: -------------------------------------------------------------------------------- 1 | description: "This is a Map[String, { id: Long, name: String}]" 2 | additionalProperties: 3 | type: "object" 4 | properties: 5 | id: 6 | type: "integer" 7 | format: "int64" 8 | name: 9 | type: "string" 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/fixtures/specs/resolution.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "http://localhost:1234", 3 | "items": { 4 | "id": "deeper/", 5 | "items": { 6 | "$ref": "stringProp.json" 7 | } 8 | }, 9 | "definitions": { 10 | "bool": { 11 | "$ref": "boolProp.json" 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/gorename/cgo_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build cgo 6 | 7 | package main_test 8 | 9 | func init() { 10 | haveCGO = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/syscall_test.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package mgo_test 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | func stop(pid int) (err error) { 10 | return syscall.Kill(pid, syscall.SIGSTOP) 11 | } 12 | 13 | func cont(pid int) (err error) { 14 | return syscall.Kill(pid, syscall.SIGCONT) 15 | } 16 | --------------------------------------------------------------------------------