From 2d9e35b3981e0645b7b1764a209e7f79ca06e7c0 Mon Sep 17 00:00:00 2001 From: Frederic BIDON Date: Sun, 16 Aug 2026 17:50:11 +0200 Subject: [PATCH] test: rename the fixtures directory to testdata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test material now lives in testdata/, aligning with fmts/testdata which already followed the convention. The Go toolchain gives testdata a defined meaning — package patterns, vet and the build all skip it — whereas fixtures/ was ours alone. The nine go:embed directives are retargeted; embed places no restriction on testdata. Two things deliberately keep the old spelling: the raw.githubusercontent URLs inside the linked-definition specs, which point at the upstream reverb/swagger-spec tree, and the swag/jsonutils/fixtures_test dependency in go.sum. Signed-off-by: Frederic BIDON --- benchmark_test.go | 6 ++--- example_security_test.go | 6 ++--- examples_test.go | 12 +++++----- fmts/fixture_test.go | 16 +++++++------- json_test.go | 2 +- options_test.go | 2 +- restricted_test.go | 8 +++---- set_loaders_test.go | 8 +++---- spec_test.go | 22 +++++++++---------- .../145/Program Files (x86)/AppName/ref.json | 0 .../AppName/todos-expanded.json | 0 .../AppName/todos.common.json | 0 .../Program Files (x86)/AppName/todos.json | 0 .../bugs/1816/fixture-1816.yaml | 0 .../json/bench/footer.partial | 0 .../json/bench/header.partial | 0 .../json/bench/path-item.partial | 0 .../json/cascade-ref-expanded.json | 0 .../json/expected-expanded.json | 0 .../json/models/modelWithArrayRef.json | 0 .../json/models/modelWithComposition.json | 0 .../json/models/modelWithDateTimeMap.json | 0 .../json/models/modelWithExamples.json | 0 .../json/models/modelWithInt32Map.json | 0 .../json/models/modelWithInt64Map.json | 0 .../models/modelWithMultipleProperties.json | 0 .../json/models/modelWithObjectMap.json | 0 .../json/models/modelWithPrimitiveArray.json | 0 .../json/models/modelWithStringProperty.json | 0 .../json/models/modelWithXmlAttributes.json | 0 .../json/models/models.json | 0 .../json/models/multipleModels.json | 0 .../properties/propertyWithBooleanArray.json | 0 .../properties/propertyWithByteArray.json | 0 .../properties/propertyWithComplexArray.json | 0 .../properties/propertyWithDateTimeArray.json | 0 .../properties/propertyWithInt32Array.json | 0 .../properties/propertyWithInt64Array.json | 0 .../models/properties/propertyWithRef.json | 0 .../properties/propertyWithStringArray.json | 0 .../properties/simpleBooleanProperty.json | 0 .../models/properties/simpleByteProperty.json | 0 .../properties/simpleDateTimeProperty.json | 0 .../properties/simpleInt32Property.json | 0 .../properties/simpleInt64Property.json | 0 .../properties/simpleStringProperty.json | 0 .../json/petstore-basic.json | 0 {fixtures => testdata}/json/petstore.json | 0 .../json/resources/cascadingSchemes.json | 0 .../json/resources/commonParameters.json | 0 .../json/resources/multipleMimeTypes.json | 0 .../operations/operationWithTags.json | 0 .../stringPathAndBoolQueryParamResource.json | 0 .../operations/stringPathParamResource.json | 0 .../parameters/bodyComplexArrayParameter.json | 0 .../parameters/bodyComplexParameter.json | 0 .../parameters/bodyInt64Parameter.json | 0 .../parameters/bodyStringArrayParameter.json | 0 .../parameters/bodyStringParameter.json | 0 .../parameters/formDataComplexParameter.json | 0 .../parameters/formDataInt64Parameter.json | 0 .../formDataStringArrayParameter.json | 0 .../parameters/formDataStringParameter.json | 0 .../parameters/headerInt64ArrayParameter.json | 0 .../headerStringArrayParameter.json | 0 .../parameters/headerStringParameter.json | 0 .../parameters/pathInt64Parameter.json | 0 .../parameters/pathStringArrayParameter.json | 0 .../parameters/pathStringParameter.json | 0 .../parameters/queryInt64ArrayParameter.json | 0 .../parameters/queryStringParameter.json | 0 .../parameters/queryWithComplexParameter.json | 0 .../json/resources/pathLoaderIssue.json | 0 .../resources/resourceWithExamplePayload.json | 0 .../resourceWithLinkedDefinitions.json | 0 .../resourceWithLinkedDefinitions_part1.json | 0 .../resources/resourceWithRelativeHost.json | 0 .../json/resources/reusableParameters.json | 0 .../json/resources/securityExample.json | 0 .../resources/stringPathParamResource.json | 0 .../json/resources/taggedResource.json | 0 .../resources/vendorExtensionExamples.json | 0 .../json/responses/complexArrayResponse.json | 0 .../json/responses/dateTimeResponse.json | 0 .../json/responses/int32Response.json | 0 .../json/responses/int64Response.json | 0 .../json/responses/multipleResponses.json | 0 .../json/responses/stringArrayResponse.json | 0 .../json/responses/stringResponse.json | 0 .../responses/stringResponseWithHeader.json | 0 .../json/responses/voidResponse.json | 0 {fixtures => testdata}/yaml/.gitkeep | 0 .../yaml/models/modelWithArrayRef.yaml | 0 .../yaml/models/modelWithComposition.yaml | 0 .../yaml/models/modelWithDateTimeMap.yaml | 0 .../yaml/models/modelWithExamples.yaml | 0 .../yaml/models/modelWithInt32Map.yaml | 0 .../yaml/models/modelWithInt64Map.yaml | 0 .../models/modelWithMultipleProperties.yaml | 0 .../yaml/models/modelWithObjectMap.yaml | 0 .../yaml/models/modelWithPrimitiveArray.yaml | 0 .../yaml/models/modelWithStringProperty.yaml | 0 .../yaml/models/modelWithXmlAttributes.yaml | 0 .../yaml/models/models.yaml | 0 .../yaml/models/multipleModels.yaml | 0 .../properties/propertyWithBooleanArray.yaml | 0 .../properties/propertyWithByteArray.yaml | 0 .../properties/propertyWithComplexArray.yaml | 0 .../properties/propertyWithDateTimeArray.yaml | 0 .../properties/propertyWithInt32Array.yaml | 0 .../properties/propertyWithInt64Array.yaml | 0 .../models/properties/propertyWithRef.yaml | 0 .../properties/propertyWithStringArray.yaml | 0 .../properties/simpleBooleanProperty.yaml | 0 .../models/properties/simpleByteProperty.yaml | 0 .../properties/simpleDateTimeProperty.yaml | 0 .../properties/simpleInt32Property.yaml | 0 .../properties/simpleInt64Property.yaml | 0 .../properties/simpleStringProperty.yaml | 0 .../yaml/resources/cascadingSchemes.yaml | 0 .../yaml/resources/commonParameters.yaml | 0 .../yaml/resources/multipleMimeTypes.yaml | 0 .../operations/operationWithTags.yaml | 0 .../stringPathAndBoolQueryParamResource.yaml | 0 .../operations/stringPathParamResource.yaml | 0 .../parameters/bodyComplexArrayParameter.yaml | 0 .../parameters/bodyComplexParameter.yaml | 0 .../parameters/bodyInt64Parameter.yaml | 0 .../parameters/bodyStringArrayParameter.yaml | 0 .../parameters/bodyStringParameter.yaml | 0 .../parameters/formDataComplexParameter.yaml | 0 .../parameters/formDataInt64Parameter.yaml | 0 .../formDataStringArrayParameter.yaml | 0 .../parameters/formDataStringParameter.yaml | 0 .../parameters/headerInt64ArrayParameter.yaml | 0 .../headerStringArrayParameter.yaml | 0 .../parameters/headerStringParameter.yaml | 0 .../parameters/pathInt64Parameter.yaml | 0 .../parameters/pathStringArrayParameter.yaml | 0 .../parameters/pathStringParameter.yaml | 0 .../parameters/queryInt64ArrayParameter.yaml | 0 .../parameters/queryStringParameter.yaml | 0 .../parameters/queryWithComplexParameter.yaml | 0 .../resources/resourceWithExamplePayload.yaml | 0 .../resourceWithLinkedDefinitions.yaml | 0 .../resourceWithLinkedDefinitions_part1.yaml | 0 .../resources/resourceWithRelativeHost.yaml | 0 .../yaml/resources/reusableParameters.yaml | 0 .../yaml/resources/securityExample.yaml | 0 .../resources/stringPathParamResource.yaml | 0 .../yaml/resources/taggedResource.yaml | 0 .../resources/vendorExtensionExamples.yaml | 0 .../yaml/responses/complexArrayResponse.yaml | 0 .../yaml/responses/dateTimeResponse.yaml | 0 .../yaml/responses/int32Response.yaml | 0 .../yaml/responses/int64Response.yaml | 0 .../yaml/responses/multipleResponses.yaml | 0 .../yaml/responses/stringArrayResponse.yaml | 0 .../yaml/responses/stringResponse.yaml | 0 .../responses/stringResponseWithHeader.yaml | 0 .../yaml/responses/voidResponse.yaml | 0 {fixtures => testdata}/yaml/search.yaml | 0 .../yaml/swagger/1/2/3/4/swagger.yaml | 0 .../yaml/swagger/shared/definitions/page.yaml | 0 .../yaml/swagger/shared/something.yaml | 0 {fixtures => testdata}/yaml/swagger/spec.yml | 0 .../yaml/swagger/test3-ter-model-schema.json | 0 {fixtures => testdata}/yaml/yaml/.gitkeep | 0 .../yaml/yaml/models/modelWithArrayRef.yaml | 0 .../yaml/models/modelWithComposition.yaml | 0 .../yaml/models/modelWithDateTimeMap.yaml | 0 .../yaml/yaml/models/modelWithExamples.yaml | 0 .../yaml/yaml/models/modelWithInt32Map.yaml | 0 .../yaml/yaml/models/modelWithInt64Map.yaml | 0 .../models/modelWithMultipleProperties.yaml | 0 .../yaml/yaml/models/modelWithObjectMap.yaml | 0 .../yaml/models/modelWithPrimitiveArray.yaml | 0 .../yaml/models/modelWithStringProperty.yaml | 0 .../yaml/models/modelWithXmlAttributes.yaml | 0 .../yaml/yaml/models/models.yaml | 0 .../yaml/yaml/models/multipleModels.yaml | 0 .../properties/propertyWithBooleanArray.yaml | 0 .../properties/propertyWithByteArray.yaml | 0 .../properties/propertyWithComplexArray.yaml | 0 .../properties/propertyWithDateTimeArray.yaml | 0 .../properties/propertyWithInt32Array.yaml | 0 .../properties/propertyWithInt64Array.yaml | 0 .../models/properties/propertyWithRef.yaml | 0 .../properties/propertyWithStringArray.yaml | 0 .../properties/simpleBooleanProperty.yaml | 0 .../models/properties/simpleByteProperty.yaml | 0 .../properties/simpleDateTimeProperty.yaml | 0 .../properties/simpleInt32Property.yaml | 0 .../properties/simpleInt64Property.yaml | 0 .../properties/simpleStringProperty.yaml | 0 .../yaml/yaml/resources/cascadingSchemes.yaml | 0 .../yaml/yaml/resources/commonParameters.yaml | 0 .../yaml/resources/multipleMimeTypes.yaml | 0 .../operations/operationWithTags.yaml | 0 .../stringPathAndBoolQueryParamResource.yaml | 0 .../operations/stringPathParamResource.yaml | 0 .../parameters/bodyComplexArrayParameter.yaml | 0 .../parameters/bodyComplexParameter.yaml | 0 .../parameters/bodyInt64Parameter.yaml | 0 .../parameters/bodyStringArrayParameter.yaml | 0 .../parameters/bodyStringParameter.yaml | 0 .../parameters/formDataComplexParameter.yaml | 0 .../parameters/formDataInt64Parameter.yaml | 0 .../formDataStringArrayParameter.yaml | 0 .../parameters/formDataStringParameter.yaml | 0 .../parameters/headerInt64ArrayParameter.yaml | 0 .../headerStringArrayParameter.yaml | 0 .../parameters/headerStringParameter.yaml | 0 .../parameters/pathInt64Parameter.yaml | 0 .../parameters/pathStringArrayParameter.yaml | 0 .../parameters/pathStringParameter.yaml | 0 .../parameters/queryInt64ArrayParameter.yaml | 0 .../parameters/queryStringParameter.yaml | 0 .../parameters/queryWithComplexParameter.yaml | 0 .../resources/resourceWithExamplePayload.yaml | 0 .../resourceWithLinkedDefinitions.yaml | 0 .../resourceWithLinkedDefinitions_part1.yaml | 0 .../resources/resourceWithRelativeHost.yaml | 0 .../yaml/resources/reusableParameters.yaml | 0 .../yaml/yaml/resources/securityExample.yaml | 0 .../resources/stringPathParamResource.yaml | 0 .../yaml/yaml/resources/taggedResource.yaml | 0 .../resources/vendorExtensionExamples.yaml | 0 .../yaml/responses/complexArrayResponse.yaml | 0 .../yaml/yaml/responses/dateTimeResponse.yaml | 0 .../yaml/yaml/responses/int32Response.yaml | 0 .../yaml/yaml/responses/int64Response.yaml | 0 .../yaml/responses/multipleResponses.yaml | 0 .../yaml/responses/stringArrayResponse.yaml | 0 .../yaml/yaml/responses/stringResponse.yaml | 0 .../responses/stringResponseWithHeader.yaml | 0 .../yaml/yaml/responses/voidResponse.yaml | 0 237 files changed, 41 insertions(+), 41 deletions(-) rename {fixtures => testdata}/bugs/145/Program Files (x86)/AppName/ref.json (100%) rename {fixtures => testdata}/bugs/145/Program Files (x86)/AppName/todos-expanded.json (100%) rename {fixtures => testdata}/bugs/145/Program Files (x86)/AppName/todos.common.json (100%) rename {fixtures => testdata}/bugs/145/Program Files (x86)/AppName/todos.json (100%) rename {fixtures => testdata}/bugs/1816/fixture-1816.yaml (100%) rename {fixtures => testdata}/json/bench/footer.partial (100%) rename {fixtures => testdata}/json/bench/header.partial (100%) rename {fixtures => testdata}/json/bench/path-item.partial (100%) rename {fixtures => testdata}/json/cascade-ref-expanded.json (100%) rename {fixtures => testdata}/json/expected-expanded.json (100%) rename {fixtures => testdata}/json/models/modelWithArrayRef.json (100%) rename {fixtures => testdata}/json/models/modelWithComposition.json (100%) rename {fixtures => testdata}/json/models/modelWithDateTimeMap.json (100%) rename {fixtures => testdata}/json/models/modelWithExamples.json (100%) rename {fixtures => testdata}/json/models/modelWithInt32Map.json (100%) rename {fixtures => testdata}/json/models/modelWithInt64Map.json (100%) rename {fixtures => testdata}/json/models/modelWithMultipleProperties.json (100%) rename {fixtures => testdata}/json/models/modelWithObjectMap.json (100%) rename {fixtures => testdata}/json/models/modelWithPrimitiveArray.json (100%) rename {fixtures => testdata}/json/models/modelWithStringProperty.json (100%) rename {fixtures => testdata}/json/models/modelWithXmlAttributes.json (100%) rename {fixtures => testdata}/json/models/models.json (100%) rename {fixtures => testdata}/json/models/multipleModels.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithBooleanArray.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithByteArray.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithComplexArray.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithDateTimeArray.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithInt32Array.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithInt64Array.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithRef.json (100%) rename {fixtures => testdata}/json/models/properties/propertyWithStringArray.json (100%) rename {fixtures => testdata}/json/models/properties/simpleBooleanProperty.json (100%) rename {fixtures => testdata}/json/models/properties/simpleByteProperty.json (100%) rename {fixtures => testdata}/json/models/properties/simpleDateTimeProperty.json (100%) rename {fixtures => testdata}/json/models/properties/simpleInt32Property.json (100%) rename {fixtures => testdata}/json/models/properties/simpleInt64Property.json (100%) rename {fixtures => testdata}/json/models/properties/simpleStringProperty.json (100%) rename {fixtures => testdata}/json/petstore-basic.json (100%) rename {fixtures => testdata}/json/petstore.json (100%) rename {fixtures => testdata}/json/resources/cascadingSchemes.json (100%) rename {fixtures => testdata}/json/resources/commonParameters.json (100%) rename {fixtures => testdata}/json/resources/multipleMimeTypes.json (100%) rename {fixtures => testdata}/json/resources/operations/operationWithTags.json (100%) rename {fixtures => testdata}/json/resources/operations/stringPathAndBoolQueryParamResource.json (100%) rename {fixtures => testdata}/json/resources/operations/stringPathParamResource.json (100%) rename {fixtures => testdata}/json/resources/parameters/bodyComplexArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/bodyComplexParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/bodyInt64Parameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/bodyStringArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/bodyStringParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/formDataComplexParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/formDataInt64Parameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/formDataStringArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/formDataStringParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/headerInt64ArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/headerStringArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/headerStringParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/pathInt64Parameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/pathStringArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/pathStringParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/queryInt64ArrayParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/queryStringParameter.json (100%) rename {fixtures => testdata}/json/resources/parameters/queryWithComplexParameter.json (100%) rename {fixtures => testdata}/json/resources/pathLoaderIssue.json (100%) rename {fixtures => testdata}/json/resources/resourceWithExamplePayload.json (100%) rename {fixtures => testdata}/json/resources/resourceWithLinkedDefinitions.json (100%) rename {fixtures => testdata}/json/resources/resourceWithLinkedDefinitions_part1.json (100%) rename {fixtures => testdata}/json/resources/resourceWithRelativeHost.json (100%) rename {fixtures => testdata}/json/resources/reusableParameters.json (100%) rename {fixtures => testdata}/json/resources/securityExample.json (100%) rename {fixtures => testdata}/json/resources/stringPathParamResource.json (100%) rename {fixtures => testdata}/json/resources/taggedResource.json (100%) rename {fixtures => testdata}/json/resources/vendorExtensionExamples.json (100%) rename {fixtures => testdata}/json/responses/complexArrayResponse.json (100%) rename {fixtures => testdata}/json/responses/dateTimeResponse.json (100%) rename {fixtures => testdata}/json/responses/int32Response.json (100%) rename {fixtures => testdata}/json/responses/int64Response.json (100%) rename {fixtures => testdata}/json/responses/multipleResponses.json (100%) rename {fixtures => testdata}/json/responses/stringArrayResponse.json (100%) rename {fixtures => testdata}/json/responses/stringResponse.json (100%) rename {fixtures => testdata}/json/responses/stringResponseWithHeader.json (100%) rename {fixtures => testdata}/json/responses/voidResponse.json (100%) rename {fixtures => testdata}/yaml/.gitkeep (100%) rename {fixtures => testdata}/yaml/models/modelWithArrayRef.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithComposition.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithDateTimeMap.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithExamples.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithInt32Map.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithInt64Map.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithMultipleProperties.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithObjectMap.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithPrimitiveArray.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithStringProperty.yaml (100%) rename {fixtures => testdata}/yaml/models/modelWithXmlAttributes.yaml (100%) rename {fixtures => testdata}/yaml/models/models.yaml (100%) rename {fixtures => testdata}/yaml/models/multipleModels.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithBooleanArray.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithByteArray.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithComplexArray.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithDateTimeArray.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithInt32Array.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithInt64Array.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithRef.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/propertyWithStringArray.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleBooleanProperty.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleByteProperty.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleDateTimeProperty.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleInt32Property.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleInt64Property.yaml (100%) rename {fixtures => testdata}/yaml/models/properties/simpleStringProperty.yaml (100%) rename {fixtures => testdata}/yaml/resources/cascadingSchemes.yaml (100%) rename {fixtures => testdata}/yaml/resources/commonParameters.yaml (100%) rename {fixtures => testdata}/yaml/resources/multipleMimeTypes.yaml (100%) rename {fixtures => testdata}/yaml/resources/operations/operationWithTags.yaml (100%) rename {fixtures => testdata}/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml (100%) rename {fixtures => testdata}/yaml/resources/operations/stringPathParamResource.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/bodyComplexArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/bodyComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/bodyInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/bodyStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/bodyStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/formDataComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/formDataInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/formDataStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/formDataStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/headerInt64ArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/headerStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/headerStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/pathInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/pathStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/pathStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/queryInt64ArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/queryStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/parameters/queryWithComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/resources/resourceWithExamplePayload.yaml (100%) rename {fixtures => testdata}/yaml/resources/resourceWithLinkedDefinitions.yaml (100%) rename {fixtures => testdata}/yaml/resources/resourceWithLinkedDefinitions_part1.yaml (100%) rename {fixtures => testdata}/yaml/resources/resourceWithRelativeHost.yaml (100%) rename {fixtures => testdata}/yaml/resources/reusableParameters.yaml (100%) rename {fixtures => testdata}/yaml/resources/securityExample.yaml (100%) rename {fixtures => testdata}/yaml/resources/stringPathParamResource.yaml (100%) rename {fixtures => testdata}/yaml/resources/taggedResource.yaml (100%) rename {fixtures => testdata}/yaml/resources/vendorExtensionExamples.yaml (100%) rename {fixtures => testdata}/yaml/responses/complexArrayResponse.yaml (100%) rename {fixtures => testdata}/yaml/responses/dateTimeResponse.yaml (100%) rename {fixtures => testdata}/yaml/responses/int32Response.yaml (100%) rename {fixtures => testdata}/yaml/responses/int64Response.yaml (100%) rename {fixtures => testdata}/yaml/responses/multipleResponses.yaml (100%) rename {fixtures => testdata}/yaml/responses/stringArrayResponse.yaml (100%) rename {fixtures => testdata}/yaml/responses/stringResponse.yaml (100%) rename {fixtures => testdata}/yaml/responses/stringResponseWithHeader.yaml (100%) rename {fixtures => testdata}/yaml/responses/voidResponse.yaml (100%) rename {fixtures => testdata}/yaml/search.yaml (100%) rename {fixtures => testdata}/yaml/swagger/1/2/3/4/swagger.yaml (100%) rename {fixtures => testdata}/yaml/swagger/shared/definitions/page.yaml (100%) rename {fixtures => testdata}/yaml/swagger/shared/something.yaml (100%) rename {fixtures => testdata}/yaml/swagger/spec.yml (100%) rename {fixtures => testdata}/yaml/swagger/test3-ter-model-schema.json (100%) rename {fixtures => testdata}/yaml/yaml/.gitkeep (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithArrayRef.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithComposition.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithDateTimeMap.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithExamples.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithInt32Map.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithInt64Map.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithMultipleProperties.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithObjectMap.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithPrimitiveArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithStringProperty.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/modelWithXmlAttributes.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/models.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/multipleModels.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithBooleanArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithByteArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithComplexArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithInt32Array.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithInt64Array.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithRef.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/propertyWithStringArray.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleBooleanProperty.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleByteProperty.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleDateTimeProperty.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleInt32Property.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleInt64Property.yaml (100%) rename {fixtures => testdata}/yaml/yaml/models/properties/simpleStringProperty.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/cascadingSchemes.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/commonParameters.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/multipleMimeTypes.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/operations/operationWithTags.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/operations/stringPathParamResource.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/bodyComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/bodyStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/formDataComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/formDataStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/headerStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/pathInt64Parameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/pathStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/queryStringParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/resourceWithExamplePayload.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/resourceWithRelativeHost.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/reusableParameters.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/securityExample.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/stringPathParamResource.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/taggedResource.yaml (100%) rename {fixtures => testdata}/yaml/yaml/resources/vendorExtensionExamples.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/complexArrayResponse.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/dateTimeResponse.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/int32Response.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/int64Response.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/multipleResponses.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/stringArrayResponse.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/stringResponse.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/stringResponseWithHeader.yaml (100%) rename {fixtures => testdata}/yaml/yaml/responses/voidResponse.yaml (100%) diff --git a/benchmark_test.go b/benchmark_test.go index 76e97b4..17c06d7 100644 --- a/benchmark_test.go +++ b/benchmark_test.go @@ -7,13 +7,13 @@ import ( "testing" ) -//go:embed fixtures/json/bench/header.partial +//go:embed testdata/json/bench/header.partial var benchHeader []byte -//go:embed fixtures/json/bench/path-item.partial +//go:embed testdata/json/bench/path-item.partial var benchPathItem []byte -//go:embed fixtures/json/bench/footer.partial +//go:embed testdata/json/bench/footer.partial var benchFooter []byte func BenchmarkAnalyzed(b *testing.B) { diff --git a/example_security_test.go b/example_security_test.go index c8ea431..36797d5 100644 --- a/example_security_test.go +++ b/example_security_test.go @@ -73,7 +73,7 @@ func ExampleSpec_restrictNetwork() { // Use this when the convenient, opinionated defaults fit; reach for the manual options shown // in the other examples when you need a custom policy. func ExampleSpecRestricted() { - const root = "fixtures/yaml" + const root = "testdata/yaml" // A document inside the trusted root loads normally. doc, err := loads.SpecRestricted("swagger/spec.yml", root) @@ -106,7 +106,7 @@ func ExampleSpecRestricted() { // spec.PathLoader — is confined, with no unconfined fallback left behind. Prefer this to // AddLoader, which only prepends and leaves the unconfined default reachable. func ExampleSetRestrictedLoaders() { - loads.SetRestrictedLoaders("fixtures/yaml") + loads.SetRestrictedLoaders("testdata/yaml") defer loads.SetLoaders() // restore the built-in default doc, err := loads.Spec("swagger/spec.yml") @@ -131,7 +131,7 @@ func ExampleSetRestrictedLoaders() { // ".." traversal, or a symlink pointing outside. Passing it through [loads.WithLoadingOptions] // makes the confinement apply to reference resolution as well. func ExampleSpec_restrictFilesystem() { - const root = "fixtures/yaml" + const root = "testdata/yaml" // A document inside the trusted root loads normally. doc, err := loads.Spec("swagger/spec.yml", loads.WithLoadingOptions(loading.WithRoot(root))) diff --git a/examples_test.go b/examples_test.go index f272f97..630102d 100644 --- a/examples_test.go +++ b/examples_test.go @@ -18,12 +18,12 @@ import ( "github.com/go-openapi/swag/loading" ) -//go:embed fixtures +//go:embed testdata var embeddedFixtures embed.FS // Example with default loaders defined at the package level. func ExampleSpec_file() { - path := "fixtures/yaml/swagger/spec.yml" + path := "testdata/yaml/swagger/spec.yml" doc, err := loads.Spec(path) if err != nil { fmt.Println("Could not load this spec") @@ -37,7 +37,7 @@ func ExampleSpec_file() { // Example with custom loaders passed as options. func ExampleLoaderOption() { - path := "fixtures/yaml/swagger/spec.yml" + path := "testdata/yaml/swagger/spec.yml" // a simpler version of loads.JSONDoc jsonLoader := loads.NewDocLoaderWithMatch( @@ -143,7 +143,7 @@ func ExampleSpec_http_json() { func ExampleSpec_embedded_yaml() { // loads a YAML spec from a file on an embedded file system doc, err := loads.Spec( - path.Join("fixtures", "yaml", "swagger", "spec.yml"), // [embed.FS] sep is "/" even on windows + path.Join("testdata", "yaml", "swagger", "spec.yml"), // [embed.FS] sep is "/" even on windows loads.WithLoadingOptions( loading.WithFS(embeddedFixtures), )) @@ -165,7 +165,7 @@ func ExampleSpec_embedded_yaml() { } func serveSomeYAMLDocument() *httptest.Server { - source, err := os.Open(filepath.Join("fixtures", "yaml", "swagger", "spec.yml")) + source, err := os.Open(filepath.Join("testdata", "yaml", "swagger", "spec.yml")) if err != nil { panic(err) } @@ -177,7 +177,7 @@ func serveSomeYAMLDocument() *httptest.Server { } func serveSomeJSONDocument() *httptest.Server { - source, err := os.Open(filepath.Join("fixtures", "json", "resources", "pathLoaderIssue.json")) + source, err := os.Open(filepath.Join("testdata", "json", "resources", "pathLoaderIssue.json")) if err != nil { panic(err) } diff --git a/fmts/fixture_test.go b/fmts/fixture_test.go index 9e508ac..b7fe7fd 100644 --- a/fmts/fixture_test.go +++ b/fmts/fixture_test.go @@ -117,7 +117,7 @@ func roundTripTestYAML(t *testing.T, fixtureType, fileName string, schema any) b func TestPropertyFixtures(t *testing.T) { for _, extension := range extensions { - path := filepath.Join("..", "fixtures", extension, "models", "properties") + path := filepath.Join("..", "testdata", extension, "models", "properties") files, err := os.ReadDir(path) if err != nil { t.Fatal(err) @@ -130,7 +130,7 @@ func TestPropertyFixtures(t *testing.T) { func TestAdditionalPropertiesWithObject(t *testing.T) { schema := new(spec.Schema) - b, err := YAMLDoc("../fixtures/yaml/models/modelWithObjectMap.yaml") + b, err := YAMLDoc("../testdata/yaml/models/modelWithObjectMap.yaml") require.NoError(t, err) require.NoError(t, json.Unmarshal(b, schema)) @@ -139,7 +139,7 @@ func TestAdditionalPropertiesWithObject(t *testing.T) { } func TestModelFixtures(t *testing.T) { - path := filepath.Join("..", "fixtures", "json", "models") + path := filepath.Join("..", "testdata", "json", "models") files, err := os.ReadDir(path) require.NoError(t, err) specs := []string{"modelWithObjectMap", "models", "modelWithComposition", "modelWithExamples", "multipleModels"} @@ -156,7 +156,7 @@ FILES: } roundTripTest(t, "model", "json", filepath.Join(path, f.Name()), &spec.Schema{}) } - path = filepath.Join("..", "fixtures", "yaml", "models") + path = filepath.Join("..", "testdata", "yaml", "models") files, err = os.ReadDir(path) require.NoError(t, err) @@ -176,7 +176,7 @@ YAMLFILES: } func TestParameterFixtures(t *testing.T) { - path := filepath.Join("..", "fixtures", "json", "resources", "parameters") + path := filepath.Join("..", "testdata", "json", "resources", "parameters") files, err := os.ReadDir(path) require.NoError(t, err) @@ -186,7 +186,7 @@ func TestParameterFixtures(t *testing.T) { } func TestOperationFixtures(t *testing.T) { - path := filepath.Join("..", "fixtures", "json", "resources", "operations") + path := filepath.Join("..", "testdata", "json", "resources", "operations") files, err := os.ReadDir(path) require.NoError(t, err) @@ -196,7 +196,7 @@ func TestOperationFixtures(t *testing.T) { } func TestResponseFixtures(t *testing.T) { - path := filepath.Join("..", "fixtures", "json", "responses") + path := filepath.Join("..", "testdata", "json", "responses") files, err := os.ReadDir(path) require.NoError(t, err) @@ -210,7 +210,7 @@ func TestResponseFixtures(t *testing.T) { } func TestResourcesFixtures(t *testing.T) { - path := filepath.Join("..", "fixtures", "json", "resources") + path := filepath.Join("..", "testdata", "json", "resources") files, err := os.ReadDir(path) require.NoError(t, err) diff --git a/json_test.go b/json_test.go index d7e307d..cae0eaa 100644 --- a/json_test.go +++ b/json_test.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/testify/v2/require" ) -//go:embed fixtures/json/petstore.json +//go:embed testdata/json/petstore.json var petstoreJSON []byte func TestLoadJSON(t *testing.T) { diff --git a/options_test.go b/options_test.go index 859536a..9010ea9 100644 --- a/options_test.go +++ b/options_test.go @@ -15,7 +15,7 @@ import ( "github.com/go-openapi/testify/v2/require" ) -const optionFixture = "fixtures/json/resources/pathLoaderIssue.json" +const optionFixture = "testdata/json/resources/pathLoaderIssue.json" var errTest = errors.New("test") diff --git a/restricted_test.go b/restricted_test.go index 5cbbb1c..dbb1efa 100644 --- a/restricted_test.go +++ b/restricted_test.go @@ -59,7 +59,7 @@ func TestRestrictedHTTPClient(t *testing.T) { } func TestSpecRestricted(t *testing.T) { - const root = "fixtures/yaml" + const root = "testdata/yaml" t.Run("should load a YAML spec within the root", func(t *testing.T) { doc, err := loads.SpecRestricted("swagger/spec.yml", root) @@ -88,7 +88,7 @@ func TestSpecRestricted(t *testing.T) { } func TestJSONSpecRestricted(t *testing.T) { - const root = "fixtures/json" + const root = "testdata/json" t.Run("should load a JSON spec within the root", func(t *testing.T) { doc, err := loads.JSONSpecRestricted("petstore-basic.json", root) @@ -112,7 +112,7 @@ func TestJSONSpecRestricted(t *testing.T) { } func TestJSONDocRestricted(t *testing.T) { - const root = "fixtures/json" + const root = "testdata/json" t.Run("should load within the root", func(t *testing.T) { ldr := loads.JSONDocRestricted(root) @@ -142,7 +142,7 @@ func TestJSONDocRestricted(t *testing.T) { // document still loads from the registered root. doc, err := loads.Spec("petstore-basic.json", loads.WithDocLoader(loads.JSONDocRestricted(root)), - loads.WithLoadingOptions(loading.WithRoot("fixtures/yaml")), + loads.WithLoadingOptions(loading.WithRoot("testdata/yaml")), ) require.NoError(t, err) assert.Equal(t, "petstore.swagger.wordnik.com", doc.Host()) diff --git a/set_loaders_test.go b/set_loaders_test.go index 27fce0b..473479b 100644 --- a/set_loaders_test.go +++ b/set_loaders_test.go @@ -34,7 +34,7 @@ func TestSetLoaders(t *testing.T) { var called bool loads.SetLoaders(loads.NewDocLoaderWithMatch(customLoader(&called), nil)) // nil matcher: catch-all - doc, err := loads.Spec("fixtures/json/petstore-basic.json") + doc, err := loads.Spec("testdata/json/petstore-basic.json") require.NoError(t, err) assert.True(t, called, "the custom loader should be used") assert.Equal(t, "petstore.swagger.wordnik.com", doc.Host()) @@ -46,7 +46,7 @@ func TestSetLoaders(t *testing.T) { var called bool loads.SetLoaders(loads.NewDocLoaderWithMatch(customLoader(&called), nil)) - _, err := spec.PathLoader("fixtures/json/petstore-basic.json") + _, err := spec.PathLoader("testdata/json/petstore-basic.json") require.NoError(t, err) assert.True(t, called, "spec.PathLoader should use the new chain") }) @@ -54,7 +54,7 @@ func TestSetLoaders(t *testing.T) { t.Run("should restore the built-in default when called with no usable loader", func(t *testing.T) { loads.SetLoaders() // reset - doc, err := loads.Spec("fixtures/yaml/swagger/spec.yml") + doc, err := loads.Spec("testdata/yaml/swagger/spec.yml") require.NoError(t, err) assert.Equal(t, "api.example.com", doc.Host()) }) @@ -63,7 +63,7 @@ func TestSetLoaders(t *testing.T) { func TestSetRestrictedLoaders(t *testing.T) { t.Cleanup(func() { loads.SetLoaders() }) // restore the built-in default - loads.SetRestrictedLoaders("fixtures/yaml") + loads.SetRestrictedLoaders("testdata/yaml") t.Run("should load a spec within the root via the package default", func(t *testing.T) { doc, err := loads.Spec("swagger/spec.yml") diff --git a/spec_test.go b/spec_test.go index 7ea365e..26824a1 100644 --- a/spec_test.go +++ b/spec_test.go @@ -15,16 +15,16 @@ import ( "github.com/go-openapi/testify/v2/require" ) -//go:embed fixtures/json/petstore-basic.json +//go:embed testdata/json/petstore-basic.json var petStoreJSON []byte -//go:embed fixtures/yaml/search.yaml +//go:embed testdata/yaml/search.yaml var yamlSpec []byte -//go:embed fixtures/json/expected-expanded.json +//go:embed testdata/json/expected-expanded.json var expectedExpanded []byte -//go:embed fixtures/json/cascade-ref-expanded.json +//go:embed testdata/json/cascade-ref-expanded.json var cascadeRefExpanded []byte func TestUnknownSpecVersion(t *testing.T) { @@ -52,7 +52,7 @@ func TestLoadsYAMLContent(t *testing.T) { // for issue #11. func TestRegressionExpand(t *testing.T) { - swaggerFile := "fixtures/yaml/swagger/1/2/3/4/swagger.yaml" + swaggerFile := "testdata/yaml/swagger/1/2/3/4/swagger.yaml" document, err := Spec(swaggerFile) require.NoError(t, err) require.NotNil(t, document) @@ -65,7 +65,7 @@ func TestRegressionExpand(t *testing.T) { } func TestCascadingRefExpand(t *testing.T) { - swaggerFile := "fixtures/yaml/swagger/spec.yml" + swaggerFile := "testdata/yaml/swagger/spec.yml" document, err := Spec(swaggerFile) require.NoError(t, err) require.NotNil(t, document) @@ -85,7 +85,7 @@ func TestFailsInvalidJSON(t *testing.T) { // issue go-swagger/go-swagger#1816 (regression when cloning original spec). func TestIssue1846(t *testing.T) { - swaggerFile := "fixtures/bugs/1816/fixture-1816.yaml" + swaggerFile := "testdata/bugs/1816/fixture-1816.yaml" document, err := Spec(swaggerFile) require.NoError(t, err) require.NotNil(t, document) @@ -108,7 +108,7 @@ func TestIssue1846(t *testing.T) { } func TestEmbedded(t *testing.T) { - swaggerFile := "fixtures/yaml/swagger/spec.yml" + swaggerFile := "testdata/yaml/swagger/spec.yml" document, err := Spec(swaggerFile) require.NoError(t, err) require.NotNil(t, document) @@ -148,7 +148,7 @@ func TestDocument(t *testing.T) { } func TestSpecCircular(t *testing.T) { - swaggerFile := "fixtures/json/resources/pathLoaderIssue.json" + swaggerFile := "testdata/json/resources/pathLoaderIssue.json" document, err := Spec(swaggerFile) require.NoError(t, err) require.NotNil(t, document) @@ -156,7 +156,7 @@ func TestSpecCircular(t *testing.T) { func TestIssueSpec145(t *testing.T) { t.Run("with remote $ref", func(t *testing.T) { - docPath := filepath.Join("fixtures", "bugs", "145", "Program Files (x86)", "AppName", "todos.json") + docPath := filepath.Join("testdata", "bugs", "145", "Program Files (x86)", "AppName", "todos.json") t.Run("with Spec loader", func(t *testing.T) { document, err := Spec(docPath) @@ -178,7 +178,7 @@ func TestIssueSpec145(t *testing.T) { }) t.Run("with self-contained root", func(t *testing.T) { - docPath := filepath.Join("fixtures", "bugs", "145", "Program Files (x86)", "AppName", "todos-expanded.json") + docPath := filepath.Join("testdata", "bugs", "145", "Program Files (x86)", "AppName", "todos-expanded.json") t.Run("with Spec loader", func(t *testing.T) { document, err := Spec(docPath) diff --git a/fixtures/bugs/145/Program Files (x86)/AppName/ref.json b/testdata/bugs/145/Program Files (x86)/AppName/ref.json similarity index 100% rename from fixtures/bugs/145/Program Files (x86)/AppName/ref.json rename to testdata/bugs/145/Program Files (x86)/AppName/ref.json diff --git a/fixtures/bugs/145/Program Files (x86)/AppName/todos-expanded.json b/testdata/bugs/145/Program Files (x86)/AppName/todos-expanded.json similarity index 100% rename from fixtures/bugs/145/Program Files (x86)/AppName/todos-expanded.json rename to testdata/bugs/145/Program Files (x86)/AppName/todos-expanded.json diff --git a/fixtures/bugs/145/Program Files (x86)/AppName/todos.common.json b/testdata/bugs/145/Program Files (x86)/AppName/todos.common.json similarity index 100% rename from fixtures/bugs/145/Program Files (x86)/AppName/todos.common.json rename to testdata/bugs/145/Program Files (x86)/AppName/todos.common.json diff --git a/fixtures/bugs/145/Program Files (x86)/AppName/todos.json b/testdata/bugs/145/Program Files (x86)/AppName/todos.json similarity index 100% rename from fixtures/bugs/145/Program Files (x86)/AppName/todos.json rename to testdata/bugs/145/Program Files (x86)/AppName/todos.json diff --git a/fixtures/bugs/1816/fixture-1816.yaml b/testdata/bugs/1816/fixture-1816.yaml similarity index 100% rename from fixtures/bugs/1816/fixture-1816.yaml rename to testdata/bugs/1816/fixture-1816.yaml diff --git a/fixtures/json/bench/footer.partial b/testdata/json/bench/footer.partial similarity index 100% rename from fixtures/json/bench/footer.partial rename to testdata/json/bench/footer.partial diff --git a/fixtures/json/bench/header.partial b/testdata/json/bench/header.partial similarity index 100% rename from fixtures/json/bench/header.partial rename to testdata/json/bench/header.partial diff --git a/fixtures/json/bench/path-item.partial b/testdata/json/bench/path-item.partial similarity index 100% rename from fixtures/json/bench/path-item.partial rename to testdata/json/bench/path-item.partial diff --git a/fixtures/json/cascade-ref-expanded.json b/testdata/json/cascade-ref-expanded.json similarity index 100% rename from fixtures/json/cascade-ref-expanded.json rename to testdata/json/cascade-ref-expanded.json diff --git a/fixtures/json/expected-expanded.json b/testdata/json/expected-expanded.json similarity index 100% rename from fixtures/json/expected-expanded.json rename to testdata/json/expected-expanded.json diff --git a/fixtures/json/models/modelWithArrayRef.json b/testdata/json/models/modelWithArrayRef.json similarity index 100% rename from fixtures/json/models/modelWithArrayRef.json rename to testdata/json/models/modelWithArrayRef.json diff --git a/fixtures/json/models/modelWithComposition.json b/testdata/json/models/modelWithComposition.json similarity index 100% rename from fixtures/json/models/modelWithComposition.json rename to testdata/json/models/modelWithComposition.json diff --git a/fixtures/json/models/modelWithDateTimeMap.json b/testdata/json/models/modelWithDateTimeMap.json similarity index 100% rename from fixtures/json/models/modelWithDateTimeMap.json rename to testdata/json/models/modelWithDateTimeMap.json diff --git a/fixtures/json/models/modelWithExamples.json b/testdata/json/models/modelWithExamples.json similarity index 100% rename from fixtures/json/models/modelWithExamples.json rename to testdata/json/models/modelWithExamples.json diff --git a/fixtures/json/models/modelWithInt32Map.json b/testdata/json/models/modelWithInt32Map.json similarity index 100% rename from fixtures/json/models/modelWithInt32Map.json rename to testdata/json/models/modelWithInt32Map.json diff --git a/fixtures/json/models/modelWithInt64Map.json b/testdata/json/models/modelWithInt64Map.json similarity index 100% rename from fixtures/json/models/modelWithInt64Map.json rename to testdata/json/models/modelWithInt64Map.json diff --git a/fixtures/json/models/modelWithMultipleProperties.json b/testdata/json/models/modelWithMultipleProperties.json similarity index 100% rename from fixtures/json/models/modelWithMultipleProperties.json rename to testdata/json/models/modelWithMultipleProperties.json diff --git a/fixtures/json/models/modelWithObjectMap.json b/testdata/json/models/modelWithObjectMap.json similarity index 100% rename from fixtures/json/models/modelWithObjectMap.json rename to testdata/json/models/modelWithObjectMap.json diff --git a/fixtures/json/models/modelWithPrimitiveArray.json b/testdata/json/models/modelWithPrimitiveArray.json similarity index 100% rename from fixtures/json/models/modelWithPrimitiveArray.json rename to testdata/json/models/modelWithPrimitiveArray.json diff --git a/fixtures/json/models/modelWithStringProperty.json b/testdata/json/models/modelWithStringProperty.json similarity index 100% rename from fixtures/json/models/modelWithStringProperty.json rename to testdata/json/models/modelWithStringProperty.json diff --git a/fixtures/json/models/modelWithXmlAttributes.json b/testdata/json/models/modelWithXmlAttributes.json similarity index 100% rename from fixtures/json/models/modelWithXmlAttributes.json rename to testdata/json/models/modelWithXmlAttributes.json diff --git a/fixtures/json/models/models.json b/testdata/json/models/models.json similarity index 100% rename from fixtures/json/models/models.json rename to testdata/json/models/models.json diff --git a/fixtures/json/models/multipleModels.json b/testdata/json/models/multipleModels.json similarity index 100% rename from fixtures/json/models/multipleModels.json rename to testdata/json/models/multipleModels.json diff --git a/fixtures/json/models/properties/propertyWithBooleanArray.json b/testdata/json/models/properties/propertyWithBooleanArray.json similarity index 100% rename from fixtures/json/models/properties/propertyWithBooleanArray.json rename to testdata/json/models/properties/propertyWithBooleanArray.json diff --git a/fixtures/json/models/properties/propertyWithByteArray.json b/testdata/json/models/properties/propertyWithByteArray.json similarity index 100% rename from fixtures/json/models/properties/propertyWithByteArray.json rename to testdata/json/models/properties/propertyWithByteArray.json diff --git a/fixtures/json/models/properties/propertyWithComplexArray.json b/testdata/json/models/properties/propertyWithComplexArray.json similarity index 100% rename from fixtures/json/models/properties/propertyWithComplexArray.json rename to testdata/json/models/properties/propertyWithComplexArray.json diff --git a/fixtures/json/models/properties/propertyWithDateTimeArray.json b/testdata/json/models/properties/propertyWithDateTimeArray.json similarity index 100% rename from fixtures/json/models/properties/propertyWithDateTimeArray.json rename to testdata/json/models/properties/propertyWithDateTimeArray.json diff --git a/fixtures/json/models/properties/propertyWithInt32Array.json b/testdata/json/models/properties/propertyWithInt32Array.json similarity index 100% rename from fixtures/json/models/properties/propertyWithInt32Array.json rename to testdata/json/models/properties/propertyWithInt32Array.json diff --git a/fixtures/json/models/properties/propertyWithInt64Array.json b/testdata/json/models/properties/propertyWithInt64Array.json similarity index 100% rename from fixtures/json/models/properties/propertyWithInt64Array.json rename to testdata/json/models/properties/propertyWithInt64Array.json diff --git a/fixtures/json/models/properties/propertyWithRef.json b/testdata/json/models/properties/propertyWithRef.json similarity index 100% rename from fixtures/json/models/properties/propertyWithRef.json rename to testdata/json/models/properties/propertyWithRef.json diff --git a/fixtures/json/models/properties/propertyWithStringArray.json b/testdata/json/models/properties/propertyWithStringArray.json similarity index 100% rename from fixtures/json/models/properties/propertyWithStringArray.json rename to testdata/json/models/properties/propertyWithStringArray.json diff --git a/fixtures/json/models/properties/simpleBooleanProperty.json b/testdata/json/models/properties/simpleBooleanProperty.json similarity index 100% rename from fixtures/json/models/properties/simpleBooleanProperty.json rename to testdata/json/models/properties/simpleBooleanProperty.json diff --git a/fixtures/json/models/properties/simpleByteProperty.json b/testdata/json/models/properties/simpleByteProperty.json similarity index 100% rename from fixtures/json/models/properties/simpleByteProperty.json rename to testdata/json/models/properties/simpleByteProperty.json diff --git a/fixtures/json/models/properties/simpleDateTimeProperty.json b/testdata/json/models/properties/simpleDateTimeProperty.json similarity index 100% rename from fixtures/json/models/properties/simpleDateTimeProperty.json rename to testdata/json/models/properties/simpleDateTimeProperty.json diff --git a/fixtures/json/models/properties/simpleInt32Property.json b/testdata/json/models/properties/simpleInt32Property.json similarity index 100% rename from fixtures/json/models/properties/simpleInt32Property.json rename to testdata/json/models/properties/simpleInt32Property.json diff --git a/fixtures/json/models/properties/simpleInt64Property.json b/testdata/json/models/properties/simpleInt64Property.json similarity index 100% rename from fixtures/json/models/properties/simpleInt64Property.json rename to testdata/json/models/properties/simpleInt64Property.json diff --git a/fixtures/json/models/properties/simpleStringProperty.json b/testdata/json/models/properties/simpleStringProperty.json similarity index 100% rename from fixtures/json/models/properties/simpleStringProperty.json rename to testdata/json/models/properties/simpleStringProperty.json diff --git a/fixtures/json/petstore-basic.json b/testdata/json/petstore-basic.json similarity index 100% rename from fixtures/json/petstore-basic.json rename to testdata/json/petstore-basic.json diff --git a/fixtures/json/petstore.json b/testdata/json/petstore.json similarity index 100% rename from fixtures/json/petstore.json rename to testdata/json/petstore.json diff --git a/fixtures/json/resources/cascadingSchemes.json b/testdata/json/resources/cascadingSchemes.json similarity index 100% rename from fixtures/json/resources/cascadingSchemes.json rename to testdata/json/resources/cascadingSchemes.json diff --git a/fixtures/json/resources/commonParameters.json b/testdata/json/resources/commonParameters.json similarity index 100% rename from fixtures/json/resources/commonParameters.json rename to testdata/json/resources/commonParameters.json diff --git a/fixtures/json/resources/multipleMimeTypes.json b/testdata/json/resources/multipleMimeTypes.json similarity index 100% rename from fixtures/json/resources/multipleMimeTypes.json rename to testdata/json/resources/multipleMimeTypes.json diff --git a/fixtures/json/resources/operations/operationWithTags.json b/testdata/json/resources/operations/operationWithTags.json similarity index 100% rename from fixtures/json/resources/operations/operationWithTags.json rename to testdata/json/resources/operations/operationWithTags.json diff --git a/fixtures/json/resources/operations/stringPathAndBoolQueryParamResource.json b/testdata/json/resources/operations/stringPathAndBoolQueryParamResource.json similarity index 100% rename from fixtures/json/resources/operations/stringPathAndBoolQueryParamResource.json rename to testdata/json/resources/operations/stringPathAndBoolQueryParamResource.json diff --git a/fixtures/json/resources/operations/stringPathParamResource.json b/testdata/json/resources/operations/stringPathParamResource.json similarity index 100% rename from fixtures/json/resources/operations/stringPathParamResource.json rename to testdata/json/resources/operations/stringPathParamResource.json diff --git a/fixtures/json/resources/parameters/bodyComplexArrayParameter.json b/testdata/json/resources/parameters/bodyComplexArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/bodyComplexArrayParameter.json rename to testdata/json/resources/parameters/bodyComplexArrayParameter.json diff --git a/fixtures/json/resources/parameters/bodyComplexParameter.json b/testdata/json/resources/parameters/bodyComplexParameter.json similarity index 100% rename from fixtures/json/resources/parameters/bodyComplexParameter.json rename to testdata/json/resources/parameters/bodyComplexParameter.json diff --git a/fixtures/json/resources/parameters/bodyInt64Parameter.json b/testdata/json/resources/parameters/bodyInt64Parameter.json similarity index 100% rename from fixtures/json/resources/parameters/bodyInt64Parameter.json rename to testdata/json/resources/parameters/bodyInt64Parameter.json diff --git a/fixtures/json/resources/parameters/bodyStringArrayParameter.json b/testdata/json/resources/parameters/bodyStringArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/bodyStringArrayParameter.json rename to testdata/json/resources/parameters/bodyStringArrayParameter.json diff --git a/fixtures/json/resources/parameters/bodyStringParameter.json b/testdata/json/resources/parameters/bodyStringParameter.json similarity index 100% rename from fixtures/json/resources/parameters/bodyStringParameter.json rename to testdata/json/resources/parameters/bodyStringParameter.json diff --git a/fixtures/json/resources/parameters/formDataComplexParameter.json b/testdata/json/resources/parameters/formDataComplexParameter.json similarity index 100% rename from fixtures/json/resources/parameters/formDataComplexParameter.json rename to testdata/json/resources/parameters/formDataComplexParameter.json diff --git a/fixtures/json/resources/parameters/formDataInt64Parameter.json b/testdata/json/resources/parameters/formDataInt64Parameter.json similarity index 100% rename from fixtures/json/resources/parameters/formDataInt64Parameter.json rename to testdata/json/resources/parameters/formDataInt64Parameter.json diff --git a/fixtures/json/resources/parameters/formDataStringArrayParameter.json b/testdata/json/resources/parameters/formDataStringArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/formDataStringArrayParameter.json rename to testdata/json/resources/parameters/formDataStringArrayParameter.json diff --git a/fixtures/json/resources/parameters/formDataStringParameter.json b/testdata/json/resources/parameters/formDataStringParameter.json similarity index 100% rename from fixtures/json/resources/parameters/formDataStringParameter.json rename to testdata/json/resources/parameters/formDataStringParameter.json diff --git a/fixtures/json/resources/parameters/headerInt64ArrayParameter.json b/testdata/json/resources/parameters/headerInt64ArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/headerInt64ArrayParameter.json rename to testdata/json/resources/parameters/headerInt64ArrayParameter.json diff --git a/fixtures/json/resources/parameters/headerStringArrayParameter.json b/testdata/json/resources/parameters/headerStringArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/headerStringArrayParameter.json rename to testdata/json/resources/parameters/headerStringArrayParameter.json diff --git a/fixtures/json/resources/parameters/headerStringParameter.json b/testdata/json/resources/parameters/headerStringParameter.json similarity index 100% rename from fixtures/json/resources/parameters/headerStringParameter.json rename to testdata/json/resources/parameters/headerStringParameter.json diff --git a/fixtures/json/resources/parameters/pathInt64Parameter.json b/testdata/json/resources/parameters/pathInt64Parameter.json similarity index 100% rename from fixtures/json/resources/parameters/pathInt64Parameter.json rename to testdata/json/resources/parameters/pathInt64Parameter.json diff --git a/fixtures/json/resources/parameters/pathStringArrayParameter.json b/testdata/json/resources/parameters/pathStringArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/pathStringArrayParameter.json rename to testdata/json/resources/parameters/pathStringArrayParameter.json diff --git a/fixtures/json/resources/parameters/pathStringParameter.json b/testdata/json/resources/parameters/pathStringParameter.json similarity index 100% rename from fixtures/json/resources/parameters/pathStringParameter.json rename to testdata/json/resources/parameters/pathStringParameter.json diff --git a/fixtures/json/resources/parameters/queryInt64ArrayParameter.json b/testdata/json/resources/parameters/queryInt64ArrayParameter.json similarity index 100% rename from fixtures/json/resources/parameters/queryInt64ArrayParameter.json rename to testdata/json/resources/parameters/queryInt64ArrayParameter.json diff --git a/fixtures/json/resources/parameters/queryStringParameter.json b/testdata/json/resources/parameters/queryStringParameter.json similarity index 100% rename from fixtures/json/resources/parameters/queryStringParameter.json rename to testdata/json/resources/parameters/queryStringParameter.json diff --git a/fixtures/json/resources/parameters/queryWithComplexParameter.json b/testdata/json/resources/parameters/queryWithComplexParameter.json similarity index 100% rename from fixtures/json/resources/parameters/queryWithComplexParameter.json rename to testdata/json/resources/parameters/queryWithComplexParameter.json diff --git a/fixtures/json/resources/pathLoaderIssue.json b/testdata/json/resources/pathLoaderIssue.json similarity index 100% rename from fixtures/json/resources/pathLoaderIssue.json rename to testdata/json/resources/pathLoaderIssue.json diff --git a/fixtures/json/resources/resourceWithExamplePayload.json b/testdata/json/resources/resourceWithExamplePayload.json similarity index 100% rename from fixtures/json/resources/resourceWithExamplePayload.json rename to testdata/json/resources/resourceWithExamplePayload.json diff --git a/fixtures/json/resources/resourceWithLinkedDefinitions.json b/testdata/json/resources/resourceWithLinkedDefinitions.json similarity index 100% rename from fixtures/json/resources/resourceWithLinkedDefinitions.json rename to testdata/json/resources/resourceWithLinkedDefinitions.json diff --git a/fixtures/json/resources/resourceWithLinkedDefinitions_part1.json b/testdata/json/resources/resourceWithLinkedDefinitions_part1.json similarity index 100% rename from fixtures/json/resources/resourceWithLinkedDefinitions_part1.json rename to testdata/json/resources/resourceWithLinkedDefinitions_part1.json diff --git a/fixtures/json/resources/resourceWithRelativeHost.json b/testdata/json/resources/resourceWithRelativeHost.json similarity index 100% rename from fixtures/json/resources/resourceWithRelativeHost.json rename to testdata/json/resources/resourceWithRelativeHost.json diff --git a/fixtures/json/resources/reusableParameters.json b/testdata/json/resources/reusableParameters.json similarity index 100% rename from fixtures/json/resources/reusableParameters.json rename to testdata/json/resources/reusableParameters.json diff --git a/fixtures/json/resources/securityExample.json b/testdata/json/resources/securityExample.json similarity index 100% rename from fixtures/json/resources/securityExample.json rename to testdata/json/resources/securityExample.json diff --git a/fixtures/json/resources/stringPathParamResource.json b/testdata/json/resources/stringPathParamResource.json similarity index 100% rename from fixtures/json/resources/stringPathParamResource.json rename to testdata/json/resources/stringPathParamResource.json diff --git a/fixtures/json/resources/taggedResource.json b/testdata/json/resources/taggedResource.json similarity index 100% rename from fixtures/json/resources/taggedResource.json rename to testdata/json/resources/taggedResource.json diff --git a/fixtures/json/resources/vendorExtensionExamples.json b/testdata/json/resources/vendorExtensionExamples.json similarity index 100% rename from fixtures/json/resources/vendorExtensionExamples.json rename to testdata/json/resources/vendorExtensionExamples.json diff --git a/fixtures/json/responses/complexArrayResponse.json b/testdata/json/responses/complexArrayResponse.json similarity index 100% rename from fixtures/json/responses/complexArrayResponse.json rename to testdata/json/responses/complexArrayResponse.json diff --git a/fixtures/json/responses/dateTimeResponse.json b/testdata/json/responses/dateTimeResponse.json similarity index 100% rename from fixtures/json/responses/dateTimeResponse.json rename to testdata/json/responses/dateTimeResponse.json diff --git a/fixtures/json/responses/int32Response.json b/testdata/json/responses/int32Response.json similarity index 100% rename from fixtures/json/responses/int32Response.json rename to testdata/json/responses/int32Response.json diff --git a/fixtures/json/responses/int64Response.json b/testdata/json/responses/int64Response.json similarity index 100% rename from fixtures/json/responses/int64Response.json rename to testdata/json/responses/int64Response.json diff --git a/fixtures/json/responses/multipleResponses.json b/testdata/json/responses/multipleResponses.json similarity index 100% rename from fixtures/json/responses/multipleResponses.json rename to testdata/json/responses/multipleResponses.json diff --git a/fixtures/json/responses/stringArrayResponse.json b/testdata/json/responses/stringArrayResponse.json similarity index 100% rename from fixtures/json/responses/stringArrayResponse.json rename to testdata/json/responses/stringArrayResponse.json diff --git a/fixtures/json/responses/stringResponse.json b/testdata/json/responses/stringResponse.json similarity index 100% rename from fixtures/json/responses/stringResponse.json rename to testdata/json/responses/stringResponse.json diff --git a/fixtures/json/responses/stringResponseWithHeader.json b/testdata/json/responses/stringResponseWithHeader.json similarity index 100% rename from fixtures/json/responses/stringResponseWithHeader.json rename to testdata/json/responses/stringResponseWithHeader.json diff --git a/fixtures/json/responses/voidResponse.json b/testdata/json/responses/voidResponse.json similarity index 100% rename from fixtures/json/responses/voidResponse.json rename to testdata/json/responses/voidResponse.json diff --git a/fixtures/yaml/.gitkeep b/testdata/yaml/.gitkeep similarity index 100% rename from fixtures/yaml/.gitkeep rename to testdata/yaml/.gitkeep diff --git a/fixtures/yaml/models/modelWithArrayRef.yaml b/testdata/yaml/models/modelWithArrayRef.yaml similarity index 100% rename from fixtures/yaml/models/modelWithArrayRef.yaml rename to testdata/yaml/models/modelWithArrayRef.yaml diff --git a/fixtures/yaml/models/modelWithComposition.yaml b/testdata/yaml/models/modelWithComposition.yaml similarity index 100% rename from fixtures/yaml/models/modelWithComposition.yaml rename to testdata/yaml/models/modelWithComposition.yaml diff --git a/fixtures/yaml/models/modelWithDateTimeMap.yaml b/testdata/yaml/models/modelWithDateTimeMap.yaml similarity index 100% rename from fixtures/yaml/models/modelWithDateTimeMap.yaml rename to testdata/yaml/models/modelWithDateTimeMap.yaml diff --git a/fixtures/yaml/models/modelWithExamples.yaml b/testdata/yaml/models/modelWithExamples.yaml similarity index 100% rename from fixtures/yaml/models/modelWithExamples.yaml rename to testdata/yaml/models/modelWithExamples.yaml diff --git a/fixtures/yaml/models/modelWithInt32Map.yaml b/testdata/yaml/models/modelWithInt32Map.yaml similarity index 100% rename from fixtures/yaml/models/modelWithInt32Map.yaml rename to testdata/yaml/models/modelWithInt32Map.yaml diff --git a/fixtures/yaml/models/modelWithInt64Map.yaml b/testdata/yaml/models/modelWithInt64Map.yaml similarity index 100% rename from fixtures/yaml/models/modelWithInt64Map.yaml rename to testdata/yaml/models/modelWithInt64Map.yaml diff --git a/fixtures/yaml/models/modelWithMultipleProperties.yaml b/testdata/yaml/models/modelWithMultipleProperties.yaml similarity index 100% rename from fixtures/yaml/models/modelWithMultipleProperties.yaml rename to testdata/yaml/models/modelWithMultipleProperties.yaml diff --git a/fixtures/yaml/models/modelWithObjectMap.yaml b/testdata/yaml/models/modelWithObjectMap.yaml similarity index 100% rename from fixtures/yaml/models/modelWithObjectMap.yaml rename to testdata/yaml/models/modelWithObjectMap.yaml diff --git a/fixtures/yaml/models/modelWithPrimitiveArray.yaml b/testdata/yaml/models/modelWithPrimitiveArray.yaml similarity index 100% rename from fixtures/yaml/models/modelWithPrimitiveArray.yaml rename to testdata/yaml/models/modelWithPrimitiveArray.yaml diff --git a/fixtures/yaml/models/modelWithStringProperty.yaml b/testdata/yaml/models/modelWithStringProperty.yaml similarity index 100% rename from fixtures/yaml/models/modelWithStringProperty.yaml rename to testdata/yaml/models/modelWithStringProperty.yaml diff --git a/fixtures/yaml/models/modelWithXmlAttributes.yaml b/testdata/yaml/models/modelWithXmlAttributes.yaml similarity index 100% rename from fixtures/yaml/models/modelWithXmlAttributes.yaml rename to testdata/yaml/models/modelWithXmlAttributes.yaml diff --git a/fixtures/yaml/models/models.yaml b/testdata/yaml/models/models.yaml similarity index 100% rename from fixtures/yaml/models/models.yaml rename to testdata/yaml/models/models.yaml diff --git a/fixtures/yaml/models/multipleModels.yaml b/testdata/yaml/models/multipleModels.yaml similarity index 100% rename from fixtures/yaml/models/multipleModels.yaml rename to testdata/yaml/models/multipleModels.yaml diff --git a/fixtures/yaml/models/properties/propertyWithBooleanArray.yaml b/testdata/yaml/models/properties/propertyWithBooleanArray.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithBooleanArray.yaml rename to testdata/yaml/models/properties/propertyWithBooleanArray.yaml diff --git a/fixtures/yaml/models/properties/propertyWithByteArray.yaml b/testdata/yaml/models/properties/propertyWithByteArray.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithByteArray.yaml rename to testdata/yaml/models/properties/propertyWithByteArray.yaml diff --git a/fixtures/yaml/models/properties/propertyWithComplexArray.yaml b/testdata/yaml/models/properties/propertyWithComplexArray.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithComplexArray.yaml rename to testdata/yaml/models/properties/propertyWithComplexArray.yaml diff --git a/fixtures/yaml/models/properties/propertyWithDateTimeArray.yaml b/testdata/yaml/models/properties/propertyWithDateTimeArray.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithDateTimeArray.yaml rename to testdata/yaml/models/properties/propertyWithDateTimeArray.yaml diff --git a/fixtures/yaml/models/properties/propertyWithInt32Array.yaml b/testdata/yaml/models/properties/propertyWithInt32Array.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithInt32Array.yaml rename to testdata/yaml/models/properties/propertyWithInt32Array.yaml diff --git a/fixtures/yaml/models/properties/propertyWithInt64Array.yaml b/testdata/yaml/models/properties/propertyWithInt64Array.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithInt64Array.yaml rename to testdata/yaml/models/properties/propertyWithInt64Array.yaml diff --git a/fixtures/yaml/models/properties/propertyWithRef.yaml b/testdata/yaml/models/properties/propertyWithRef.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithRef.yaml rename to testdata/yaml/models/properties/propertyWithRef.yaml diff --git a/fixtures/yaml/models/properties/propertyWithStringArray.yaml b/testdata/yaml/models/properties/propertyWithStringArray.yaml similarity index 100% rename from fixtures/yaml/models/properties/propertyWithStringArray.yaml rename to testdata/yaml/models/properties/propertyWithStringArray.yaml diff --git a/fixtures/yaml/models/properties/simpleBooleanProperty.yaml b/testdata/yaml/models/properties/simpleBooleanProperty.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleBooleanProperty.yaml rename to testdata/yaml/models/properties/simpleBooleanProperty.yaml diff --git a/fixtures/yaml/models/properties/simpleByteProperty.yaml b/testdata/yaml/models/properties/simpleByteProperty.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleByteProperty.yaml rename to testdata/yaml/models/properties/simpleByteProperty.yaml diff --git a/fixtures/yaml/models/properties/simpleDateTimeProperty.yaml b/testdata/yaml/models/properties/simpleDateTimeProperty.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleDateTimeProperty.yaml rename to testdata/yaml/models/properties/simpleDateTimeProperty.yaml diff --git a/fixtures/yaml/models/properties/simpleInt32Property.yaml b/testdata/yaml/models/properties/simpleInt32Property.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleInt32Property.yaml rename to testdata/yaml/models/properties/simpleInt32Property.yaml diff --git a/fixtures/yaml/models/properties/simpleInt64Property.yaml b/testdata/yaml/models/properties/simpleInt64Property.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleInt64Property.yaml rename to testdata/yaml/models/properties/simpleInt64Property.yaml diff --git a/fixtures/yaml/models/properties/simpleStringProperty.yaml b/testdata/yaml/models/properties/simpleStringProperty.yaml similarity index 100% rename from fixtures/yaml/models/properties/simpleStringProperty.yaml rename to testdata/yaml/models/properties/simpleStringProperty.yaml diff --git a/fixtures/yaml/resources/cascadingSchemes.yaml b/testdata/yaml/resources/cascadingSchemes.yaml similarity index 100% rename from fixtures/yaml/resources/cascadingSchemes.yaml rename to testdata/yaml/resources/cascadingSchemes.yaml diff --git a/fixtures/yaml/resources/commonParameters.yaml b/testdata/yaml/resources/commonParameters.yaml similarity index 100% rename from fixtures/yaml/resources/commonParameters.yaml rename to testdata/yaml/resources/commonParameters.yaml diff --git a/fixtures/yaml/resources/multipleMimeTypes.yaml b/testdata/yaml/resources/multipleMimeTypes.yaml similarity index 100% rename from fixtures/yaml/resources/multipleMimeTypes.yaml rename to testdata/yaml/resources/multipleMimeTypes.yaml diff --git a/fixtures/yaml/resources/operations/operationWithTags.yaml b/testdata/yaml/resources/operations/operationWithTags.yaml similarity index 100% rename from fixtures/yaml/resources/operations/operationWithTags.yaml rename to testdata/yaml/resources/operations/operationWithTags.yaml diff --git a/fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml b/testdata/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml similarity index 100% rename from fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml rename to testdata/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml diff --git a/fixtures/yaml/resources/operations/stringPathParamResource.yaml b/testdata/yaml/resources/operations/stringPathParamResource.yaml similarity index 100% rename from fixtures/yaml/resources/operations/stringPathParamResource.yaml rename to testdata/yaml/resources/operations/stringPathParamResource.yaml diff --git a/fixtures/yaml/resources/parameters/bodyComplexArrayParameter.yaml b/testdata/yaml/resources/parameters/bodyComplexArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/bodyComplexArrayParameter.yaml rename to testdata/yaml/resources/parameters/bodyComplexArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/bodyComplexParameter.yaml b/testdata/yaml/resources/parameters/bodyComplexParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/bodyComplexParameter.yaml rename to testdata/yaml/resources/parameters/bodyComplexParameter.yaml diff --git a/fixtures/yaml/resources/parameters/bodyInt64Parameter.yaml b/testdata/yaml/resources/parameters/bodyInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/bodyInt64Parameter.yaml rename to testdata/yaml/resources/parameters/bodyInt64Parameter.yaml diff --git a/fixtures/yaml/resources/parameters/bodyStringArrayParameter.yaml b/testdata/yaml/resources/parameters/bodyStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/bodyStringArrayParameter.yaml rename to testdata/yaml/resources/parameters/bodyStringArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/bodyStringParameter.yaml b/testdata/yaml/resources/parameters/bodyStringParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/bodyStringParameter.yaml rename to testdata/yaml/resources/parameters/bodyStringParameter.yaml diff --git a/fixtures/yaml/resources/parameters/formDataComplexParameter.yaml b/testdata/yaml/resources/parameters/formDataComplexParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/formDataComplexParameter.yaml rename to testdata/yaml/resources/parameters/formDataComplexParameter.yaml diff --git a/fixtures/yaml/resources/parameters/formDataInt64Parameter.yaml b/testdata/yaml/resources/parameters/formDataInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/formDataInt64Parameter.yaml rename to testdata/yaml/resources/parameters/formDataInt64Parameter.yaml diff --git a/fixtures/yaml/resources/parameters/formDataStringArrayParameter.yaml b/testdata/yaml/resources/parameters/formDataStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/formDataStringArrayParameter.yaml rename to testdata/yaml/resources/parameters/formDataStringArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/formDataStringParameter.yaml b/testdata/yaml/resources/parameters/formDataStringParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/formDataStringParameter.yaml rename to testdata/yaml/resources/parameters/formDataStringParameter.yaml diff --git a/fixtures/yaml/resources/parameters/headerInt64ArrayParameter.yaml b/testdata/yaml/resources/parameters/headerInt64ArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/headerInt64ArrayParameter.yaml rename to testdata/yaml/resources/parameters/headerInt64ArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/headerStringArrayParameter.yaml b/testdata/yaml/resources/parameters/headerStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/headerStringArrayParameter.yaml rename to testdata/yaml/resources/parameters/headerStringArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/headerStringParameter.yaml b/testdata/yaml/resources/parameters/headerStringParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/headerStringParameter.yaml rename to testdata/yaml/resources/parameters/headerStringParameter.yaml diff --git a/fixtures/yaml/resources/parameters/pathInt64Parameter.yaml b/testdata/yaml/resources/parameters/pathInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/pathInt64Parameter.yaml rename to testdata/yaml/resources/parameters/pathInt64Parameter.yaml diff --git a/fixtures/yaml/resources/parameters/pathStringArrayParameter.yaml b/testdata/yaml/resources/parameters/pathStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/pathStringArrayParameter.yaml rename to testdata/yaml/resources/parameters/pathStringArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/pathStringParameter.yaml b/testdata/yaml/resources/parameters/pathStringParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/pathStringParameter.yaml rename to testdata/yaml/resources/parameters/pathStringParameter.yaml diff --git a/fixtures/yaml/resources/parameters/queryInt64ArrayParameter.yaml b/testdata/yaml/resources/parameters/queryInt64ArrayParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/queryInt64ArrayParameter.yaml rename to testdata/yaml/resources/parameters/queryInt64ArrayParameter.yaml diff --git a/fixtures/yaml/resources/parameters/queryStringParameter.yaml b/testdata/yaml/resources/parameters/queryStringParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/queryStringParameter.yaml rename to testdata/yaml/resources/parameters/queryStringParameter.yaml diff --git a/fixtures/yaml/resources/parameters/queryWithComplexParameter.yaml b/testdata/yaml/resources/parameters/queryWithComplexParameter.yaml similarity index 100% rename from fixtures/yaml/resources/parameters/queryWithComplexParameter.yaml rename to testdata/yaml/resources/parameters/queryWithComplexParameter.yaml diff --git a/fixtures/yaml/resources/resourceWithExamplePayload.yaml b/testdata/yaml/resources/resourceWithExamplePayload.yaml similarity index 100% rename from fixtures/yaml/resources/resourceWithExamplePayload.yaml rename to testdata/yaml/resources/resourceWithExamplePayload.yaml diff --git a/fixtures/yaml/resources/resourceWithLinkedDefinitions.yaml b/testdata/yaml/resources/resourceWithLinkedDefinitions.yaml similarity index 100% rename from fixtures/yaml/resources/resourceWithLinkedDefinitions.yaml rename to testdata/yaml/resources/resourceWithLinkedDefinitions.yaml diff --git a/fixtures/yaml/resources/resourceWithLinkedDefinitions_part1.yaml b/testdata/yaml/resources/resourceWithLinkedDefinitions_part1.yaml similarity index 100% rename from fixtures/yaml/resources/resourceWithLinkedDefinitions_part1.yaml rename to testdata/yaml/resources/resourceWithLinkedDefinitions_part1.yaml diff --git a/fixtures/yaml/resources/resourceWithRelativeHost.yaml b/testdata/yaml/resources/resourceWithRelativeHost.yaml similarity index 100% rename from fixtures/yaml/resources/resourceWithRelativeHost.yaml rename to testdata/yaml/resources/resourceWithRelativeHost.yaml diff --git a/fixtures/yaml/resources/reusableParameters.yaml b/testdata/yaml/resources/reusableParameters.yaml similarity index 100% rename from fixtures/yaml/resources/reusableParameters.yaml rename to testdata/yaml/resources/reusableParameters.yaml diff --git a/fixtures/yaml/resources/securityExample.yaml b/testdata/yaml/resources/securityExample.yaml similarity index 100% rename from fixtures/yaml/resources/securityExample.yaml rename to testdata/yaml/resources/securityExample.yaml diff --git a/fixtures/yaml/resources/stringPathParamResource.yaml b/testdata/yaml/resources/stringPathParamResource.yaml similarity index 100% rename from fixtures/yaml/resources/stringPathParamResource.yaml rename to testdata/yaml/resources/stringPathParamResource.yaml diff --git a/fixtures/yaml/resources/taggedResource.yaml b/testdata/yaml/resources/taggedResource.yaml similarity index 100% rename from fixtures/yaml/resources/taggedResource.yaml rename to testdata/yaml/resources/taggedResource.yaml diff --git a/fixtures/yaml/resources/vendorExtensionExamples.yaml b/testdata/yaml/resources/vendorExtensionExamples.yaml similarity index 100% rename from fixtures/yaml/resources/vendorExtensionExamples.yaml rename to testdata/yaml/resources/vendorExtensionExamples.yaml diff --git a/fixtures/yaml/responses/complexArrayResponse.yaml b/testdata/yaml/responses/complexArrayResponse.yaml similarity index 100% rename from fixtures/yaml/responses/complexArrayResponse.yaml rename to testdata/yaml/responses/complexArrayResponse.yaml diff --git a/fixtures/yaml/responses/dateTimeResponse.yaml b/testdata/yaml/responses/dateTimeResponse.yaml similarity index 100% rename from fixtures/yaml/responses/dateTimeResponse.yaml rename to testdata/yaml/responses/dateTimeResponse.yaml diff --git a/fixtures/yaml/responses/int32Response.yaml b/testdata/yaml/responses/int32Response.yaml similarity index 100% rename from fixtures/yaml/responses/int32Response.yaml rename to testdata/yaml/responses/int32Response.yaml diff --git a/fixtures/yaml/responses/int64Response.yaml b/testdata/yaml/responses/int64Response.yaml similarity index 100% rename from fixtures/yaml/responses/int64Response.yaml rename to testdata/yaml/responses/int64Response.yaml diff --git a/fixtures/yaml/responses/multipleResponses.yaml b/testdata/yaml/responses/multipleResponses.yaml similarity index 100% rename from fixtures/yaml/responses/multipleResponses.yaml rename to testdata/yaml/responses/multipleResponses.yaml diff --git a/fixtures/yaml/responses/stringArrayResponse.yaml b/testdata/yaml/responses/stringArrayResponse.yaml similarity index 100% rename from fixtures/yaml/responses/stringArrayResponse.yaml rename to testdata/yaml/responses/stringArrayResponse.yaml diff --git a/fixtures/yaml/responses/stringResponse.yaml b/testdata/yaml/responses/stringResponse.yaml similarity index 100% rename from fixtures/yaml/responses/stringResponse.yaml rename to testdata/yaml/responses/stringResponse.yaml diff --git a/fixtures/yaml/responses/stringResponseWithHeader.yaml b/testdata/yaml/responses/stringResponseWithHeader.yaml similarity index 100% rename from fixtures/yaml/responses/stringResponseWithHeader.yaml rename to testdata/yaml/responses/stringResponseWithHeader.yaml diff --git a/fixtures/yaml/responses/voidResponse.yaml b/testdata/yaml/responses/voidResponse.yaml similarity index 100% rename from fixtures/yaml/responses/voidResponse.yaml rename to testdata/yaml/responses/voidResponse.yaml diff --git a/fixtures/yaml/search.yaml b/testdata/yaml/search.yaml similarity index 100% rename from fixtures/yaml/search.yaml rename to testdata/yaml/search.yaml diff --git a/fixtures/yaml/swagger/1/2/3/4/swagger.yaml b/testdata/yaml/swagger/1/2/3/4/swagger.yaml similarity index 100% rename from fixtures/yaml/swagger/1/2/3/4/swagger.yaml rename to testdata/yaml/swagger/1/2/3/4/swagger.yaml diff --git a/fixtures/yaml/swagger/shared/definitions/page.yaml b/testdata/yaml/swagger/shared/definitions/page.yaml similarity index 100% rename from fixtures/yaml/swagger/shared/definitions/page.yaml rename to testdata/yaml/swagger/shared/definitions/page.yaml diff --git a/fixtures/yaml/swagger/shared/something.yaml b/testdata/yaml/swagger/shared/something.yaml similarity index 100% rename from fixtures/yaml/swagger/shared/something.yaml rename to testdata/yaml/swagger/shared/something.yaml diff --git a/fixtures/yaml/swagger/spec.yml b/testdata/yaml/swagger/spec.yml similarity index 100% rename from fixtures/yaml/swagger/spec.yml rename to testdata/yaml/swagger/spec.yml diff --git a/fixtures/yaml/swagger/test3-ter-model-schema.json b/testdata/yaml/swagger/test3-ter-model-schema.json similarity index 100% rename from fixtures/yaml/swagger/test3-ter-model-schema.json rename to testdata/yaml/swagger/test3-ter-model-schema.json diff --git a/fixtures/yaml/yaml/.gitkeep b/testdata/yaml/yaml/.gitkeep similarity index 100% rename from fixtures/yaml/yaml/.gitkeep rename to testdata/yaml/yaml/.gitkeep diff --git a/fixtures/yaml/yaml/models/modelWithArrayRef.yaml b/testdata/yaml/yaml/models/modelWithArrayRef.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithArrayRef.yaml rename to testdata/yaml/yaml/models/modelWithArrayRef.yaml diff --git a/fixtures/yaml/yaml/models/modelWithComposition.yaml b/testdata/yaml/yaml/models/modelWithComposition.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithComposition.yaml rename to testdata/yaml/yaml/models/modelWithComposition.yaml diff --git a/fixtures/yaml/yaml/models/modelWithDateTimeMap.yaml b/testdata/yaml/yaml/models/modelWithDateTimeMap.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithDateTimeMap.yaml rename to testdata/yaml/yaml/models/modelWithDateTimeMap.yaml diff --git a/fixtures/yaml/yaml/models/modelWithExamples.yaml b/testdata/yaml/yaml/models/modelWithExamples.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithExamples.yaml rename to testdata/yaml/yaml/models/modelWithExamples.yaml diff --git a/fixtures/yaml/yaml/models/modelWithInt32Map.yaml b/testdata/yaml/yaml/models/modelWithInt32Map.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithInt32Map.yaml rename to testdata/yaml/yaml/models/modelWithInt32Map.yaml diff --git a/fixtures/yaml/yaml/models/modelWithInt64Map.yaml b/testdata/yaml/yaml/models/modelWithInt64Map.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithInt64Map.yaml rename to testdata/yaml/yaml/models/modelWithInt64Map.yaml diff --git a/fixtures/yaml/yaml/models/modelWithMultipleProperties.yaml b/testdata/yaml/yaml/models/modelWithMultipleProperties.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithMultipleProperties.yaml rename to testdata/yaml/yaml/models/modelWithMultipleProperties.yaml diff --git a/fixtures/yaml/yaml/models/modelWithObjectMap.yaml b/testdata/yaml/yaml/models/modelWithObjectMap.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithObjectMap.yaml rename to testdata/yaml/yaml/models/modelWithObjectMap.yaml diff --git a/fixtures/yaml/yaml/models/modelWithPrimitiveArray.yaml b/testdata/yaml/yaml/models/modelWithPrimitiveArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithPrimitiveArray.yaml rename to testdata/yaml/yaml/models/modelWithPrimitiveArray.yaml diff --git a/fixtures/yaml/yaml/models/modelWithStringProperty.yaml b/testdata/yaml/yaml/models/modelWithStringProperty.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithStringProperty.yaml rename to testdata/yaml/yaml/models/modelWithStringProperty.yaml diff --git a/fixtures/yaml/yaml/models/modelWithXmlAttributes.yaml b/testdata/yaml/yaml/models/modelWithXmlAttributes.yaml similarity index 100% rename from fixtures/yaml/yaml/models/modelWithXmlAttributes.yaml rename to testdata/yaml/yaml/models/modelWithXmlAttributes.yaml diff --git a/fixtures/yaml/yaml/models/models.yaml b/testdata/yaml/yaml/models/models.yaml similarity index 100% rename from fixtures/yaml/yaml/models/models.yaml rename to testdata/yaml/yaml/models/models.yaml diff --git a/fixtures/yaml/yaml/models/multipleModels.yaml b/testdata/yaml/yaml/models/multipleModels.yaml similarity index 100% rename from fixtures/yaml/yaml/models/multipleModels.yaml rename to testdata/yaml/yaml/models/multipleModels.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithBooleanArray.yaml b/testdata/yaml/yaml/models/properties/propertyWithBooleanArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithBooleanArray.yaml rename to testdata/yaml/yaml/models/properties/propertyWithBooleanArray.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithByteArray.yaml b/testdata/yaml/yaml/models/properties/propertyWithByteArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithByteArray.yaml rename to testdata/yaml/yaml/models/properties/propertyWithByteArray.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithComplexArray.yaml b/testdata/yaml/yaml/models/properties/propertyWithComplexArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithComplexArray.yaml rename to testdata/yaml/yaml/models/properties/propertyWithComplexArray.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml b/testdata/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml rename to testdata/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithInt32Array.yaml b/testdata/yaml/yaml/models/properties/propertyWithInt32Array.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithInt32Array.yaml rename to testdata/yaml/yaml/models/properties/propertyWithInt32Array.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithInt64Array.yaml b/testdata/yaml/yaml/models/properties/propertyWithInt64Array.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithInt64Array.yaml rename to testdata/yaml/yaml/models/properties/propertyWithInt64Array.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithRef.yaml b/testdata/yaml/yaml/models/properties/propertyWithRef.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithRef.yaml rename to testdata/yaml/yaml/models/properties/propertyWithRef.yaml diff --git a/fixtures/yaml/yaml/models/properties/propertyWithStringArray.yaml b/testdata/yaml/yaml/models/properties/propertyWithStringArray.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/propertyWithStringArray.yaml rename to testdata/yaml/yaml/models/properties/propertyWithStringArray.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleBooleanProperty.yaml b/testdata/yaml/yaml/models/properties/simpleBooleanProperty.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleBooleanProperty.yaml rename to testdata/yaml/yaml/models/properties/simpleBooleanProperty.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleByteProperty.yaml b/testdata/yaml/yaml/models/properties/simpleByteProperty.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleByteProperty.yaml rename to testdata/yaml/yaml/models/properties/simpleByteProperty.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleDateTimeProperty.yaml b/testdata/yaml/yaml/models/properties/simpleDateTimeProperty.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleDateTimeProperty.yaml rename to testdata/yaml/yaml/models/properties/simpleDateTimeProperty.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleInt32Property.yaml b/testdata/yaml/yaml/models/properties/simpleInt32Property.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleInt32Property.yaml rename to testdata/yaml/yaml/models/properties/simpleInt32Property.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleInt64Property.yaml b/testdata/yaml/yaml/models/properties/simpleInt64Property.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleInt64Property.yaml rename to testdata/yaml/yaml/models/properties/simpleInt64Property.yaml diff --git a/fixtures/yaml/yaml/models/properties/simpleStringProperty.yaml b/testdata/yaml/yaml/models/properties/simpleStringProperty.yaml similarity index 100% rename from fixtures/yaml/yaml/models/properties/simpleStringProperty.yaml rename to testdata/yaml/yaml/models/properties/simpleStringProperty.yaml diff --git a/fixtures/yaml/yaml/resources/cascadingSchemes.yaml b/testdata/yaml/yaml/resources/cascadingSchemes.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/cascadingSchemes.yaml rename to testdata/yaml/yaml/resources/cascadingSchemes.yaml diff --git a/fixtures/yaml/yaml/resources/commonParameters.yaml b/testdata/yaml/yaml/resources/commonParameters.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/commonParameters.yaml rename to testdata/yaml/yaml/resources/commonParameters.yaml diff --git a/fixtures/yaml/yaml/resources/multipleMimeTypes.yaml b/testdata/yaml/yaml/resources/multipleMimeTypes.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/multipleMimeTypes.yaml rename to testdata/yaml/yaml/resources/multipleMimeTypes.yaml diff --git a/fixtures/yaml/yaml/resources/operations/operationWithTags.yaml b/testdata/yaml/yaml/resources/operations/operationWithTags.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/operations/operationWithTags.yaml rename to testdata/yaml/yaml/resources/operations/operationWithTags.yaml diff --git a/fixtures/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml b/testdata/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml rename to testdata/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml diff --git a/fixtures/yaml/yaml/resources/operations/stringPathParamResource.yaml b/testdata/yaml/yaml/resources/operations/stringPathParamResource.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/operations/stringPathParamResource.yaml rename to testdata/yaml/yaml/resources/operations/stringPathParamResource.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/bodyComplexParameter.yaml b/testdata/yaml/yaml/resources/parameters/bodyComplexParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/bodyComplexParameter.yaml rename to testdata/yaml/yaml/resources/parameters/bodyComplexParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml b/testdata/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml rename to testdata/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/bodyStringParameter.yaml b/testdata/yaml/yaml/resources/parameters/bodyStringParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/bodyStringParameter.yaml rename to testdata/yaml/yaml/resources/parameters/bodyStringParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/formDataComplexParameter.yaml b/testdata/yaml/yaml/resources/parameters/formDataComplexParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/formDataComplexParameter.yaml rename to testdata/yaml/yaml/resources/parameters/formDataComplexParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml b/testdata/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml rename to testdata/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/formDataStringParameter.yaml b/testdata/yaml/yaml/resources/parameters/formDataStringParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/formDataStringParameter.yaml rename to testdata/yaml/yaml/resources/parameters/formDataStringParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/headerStringParameter.yaml b/testdata/yaml/yaml/resources/parameters/headerStringParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/headerStringParameter.yaml rename to testdata/yaml/yaml/resources/parameters/headerStringParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/pathInt64Parameter.yaml b/testdata/yaml/yaml/resources/parameters/pathInt64Parameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/pathInt64Parameter.yaml rename to testdata/yaml/yaml/resources/parameters/pathInt64Parameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/pathStringParameter.yaml b/testdata/yaml/yaml/resources/parameters/pathStringParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/pathStringParameter.yaml rename to testdata/yaml/yaml/resources/parameters/pathStringParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml b/testdata/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml rename to testdata/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/queryStringParameter.yaml b/testdata/yaml/yaml/resources/parameters/queryStringParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/queryStringParameter.yaml rename to testdata/yaml/yaml/resources/parameters/queryStringParameter.yaml diff --git a/fixtures/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml b/testdata/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml rename to testdata/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml diff --git a/fixtures/yaml/yaml/resources/resourceWithExamplePayload.yaml b/testdata/yaml/yaml/resources/resourceWithExamplePayload.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/resourceWithExamplePayload.yaml rename to testdata/yaml/yaml/resources/resourceWithExamplePayload.yaml diff --git a/fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml b/testdata/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml rename to testdata/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml diff --git a/fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml b/testdata/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml rename to testdata/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml diff --git a/fixtures/yaml/yaml/resources/resourceWithRelativeHost.yaml b/testdata/yaml/yaml/resources/resourceWithRelativeHost.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/resourceWithRelativeHost.yaml rename to testdata/yaml/yaml/resources/resourceWithRelativeHost.yaml diff --git a/fixtures/yaml/yaml/resources/reusableParameters.yaml b/testdata/yaml/yaml/resources/reusableParameters.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/reusableParameters.yaml rename to testdata/yaml/yaml/resources/reusableParameters.yaml diff --git a/fixtures/yaml/yaml/resources/securityExample.yaml b/testdata/yaml/yaml/resources/securityExample.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/securityExample.yaml rename to testdata/yaml/yaml/resources/securityExample.yaml diff --git a/fixtures/yaml/yaml/resources/stringPathParamResource.yaml b/testdata/yaml/yaml/resources/stringPathParamResource.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/stringPathParamResource.yaml rename to testdata/yaml/yaml/resources/stringPathParamResource.yaml diff --git a/fixtures/yaml/yaml/resources/taggedResource.yaml b/testdata/yaml/yaml/resources/taggedResource.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/taggedResource.yaml rename to testdata/yaml/yaml/resources/taggedResource.yaml diff --git a/fixtures/yaml/yaml/resources/vendorExtensionExamples.yaml b/testdata/yaml/yaml/resources/vendorExtensionExamples.yaml similarity index 100% rename from fixtures/yaml/yaml/resources/vendorExtensionExamples.yaml rename to testdata/yaml/yaml/resources/vendorExtensionExamples.yaml diff --git a/fixtures/yaml/yaml/responses/complexArrayResponse.yaml b/testdata/yaml/yaml/responses/complexArrayResponse.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/complexArrayResponse.yaml rename to testdata/yaml/yaml/responses/complexArrayResponse.yaml diff --git a/fixtures/yaml/yaml/responses/dateTimeResponse.yaml b/testdata/yaml/yaml/responses/dateTimeResponse.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/dateTimeResponse.yaml rename to testdata/yaml/yaml/responses/dateTimeResponse.yaml diff --git a/fixtures/yaml/yaml/responses/int32Response.yaml b/testdata/yaml/yaml/responses/int32Response.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/int32Response.yaml rename to testdata/yaml/yaml/responses/int32Response.yaml diff --git a/fixtures/yaml/yaml/responses/int64Response.yaml b/testdata/yaml/yaml/responses/int64Response.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/int64Response.yaml rename to testdata/yaml/yaml/responses/int64Response.yaml diff --git a/fixtures/yaml/yaml/responses/multipleResponses.yaml b/testdata/yaml/yaml/responses/multipleResponses.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/multipleResponses.yaml rename to testdata/yaml/yaml/responses/multipleResponses.yaml diff --git a/fixtures/yaml/yaml/responses/stringArrayResponse.yaml b/testdata/yaml/yaml/responses/stringArrayResponse.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/stringArrayResponse.yaml rename to testdata/yaml/yaml/responses/stringArrayResponse.yaml diff --git a/fixtures/yaml/yaml/responses/stringResponse.yaml b/testdata/yaml/yaml/responses/stringResponse.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/stringResponse.yaml rename to testdata/yaml/yaml/responses/stringResponse.yaml diff --git a/fixtures/yaml/yaml/responses/stringResponseWithHeader.yaml b/testdata/yaml/yaml/responses/stringResponseWithHeader.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/stringResponseWithHeader.yaml rename to testdata/yaml/yaml/responses/stringResponseWithHeader.yaml diff --git a/fixtures/yaml/yaml/responses/voidResponse.yaml b/testdata/yaml/yaml/responses/voidResponse.yaml similarity index 100% rename from fixtures/yaml/yaml/responses/voidResponse.yaml rename to testdata/yaml/yaml/responses/voidResponse.yaml