diff --git a/circular_test.go b/circular_test.go index 5a8535c7..fd98a81b 100644 --- a/circular_test.go +++ b/circular_test.go @@ -16,7 +16,7 @@ import ( ) func TestExpandCircular_Issue3(t *testing.T) { - jazon, root := expandThisOrDieTrying(t, "fixtures/expansion/overflow.json") + jazon, root := expandThisOrDieTrying(t, "testdata/expansion/overflow.json") require.NotEmpty(t, jazon) // circular $ref point to the expanded root document @@ -30,7 +30,7 @@ func TestExpandCircular_Issue3(t *testing.T) { } func TestExpandCircular_RefExpansion(t *testing.T) { - basePath := filepath.Join("fixtures", "expansion", "circularRefs.json") + basePath := filepath.Join("testdata", "expansion", "circularRefs.json") carsDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -61,7 +61,7 @@ func TestExpandCircular_RefExpansion(t *testing.T) { func TestExpandCircular_Spec2Expansion(t *testing.T) { // TODO: assert repeatable results (see commented section below) - fixturePath := filepath.Join("fixtures", "expansion", "circular-minimal.json") + fixturePath := filepath.Join("testdata", "expansion", "circular-minimal.json") jazon, root := expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) @@ -75,7 +75,7 @@ func TestExpandCircular_Spec2Expansion(t *testing.T) { assert.StringNotContainsTf(t, jazon, "circular-minimal.json#/", "expected %s to be expanded with stripped circular $ref", fixturePath) - fixturePath = filepath.Join("fixtures", "expansion", "circularSpec2.json") + fixturePath = filepath.Join("testdata", "expansion", "circularSpec2.json") jazon, root = expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) @@ -121,25 +121,25 @@ func TestExpandCircular_MoreCircular(t *testing.T) { // - with circular in a schema in #/responses // - with circular in a schema in #/parameters - fixturePath := filepath.Join("fixtures", "more_circulars", "spec.json") + fixturePath := filepath.Join("testdata", "more_circulars", "spec.json") jazon, root := expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "item.json#/item") assertRefResolve(t, jazon, "", root, &ExpandOptions{RelativeBase: fixturePath}) - fixturePath = filepath.Join("fixtures", "more_circulars", "spec2.json") + fixturePath = filepath.Join("testdata", "more_circulars", "spec2.json") jazon, root = expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "item2.json#/item") assertRefResolve(t, jazon, "", root, &ExpandOptions{RelativeBase: fixturePath}) - fixturePath = filepath.Join("fixtures", "more_circulars", "spec3.json") + fixturePath = filepath.Join("testdata", "more_circulars", "spec3.json") jazon, root = expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "item.json#/item") assertRefResolve(t, jazon, "", root, &ExpandOptions{RelativeBase: fixturePath}) - fixturePath = filepath.Join("fixtures", "more_circulars", "spec4.json") + fixturePath = filepath.Join("testdata", "more_circulars", "spec4.json") jazon, root = expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "item4.json#/item") @@ -147,7 +147,7 @@ func TestExpandCircular_MoreCircular(t *testing.T) { } func TestExpandCircular_Issue957(t *testing.T) { - fixturePath := filepath.Join("fixtures", "bugs", "957", "fixture-957.json") + fixturePath := filepath.Join("testdata", "bugs", "957", "fixture-957.json") jazon, root := expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) @@ -164,7 +164,7 @@ func TestExpandCircular_Issue957(t *testing.T) { func TestExpandCircular_Bitbucket(t *testing.T) { // Additional testcase for circular $ref (from bitbucket api) - fixturePath := filepath.Join("fixtures", "more_circulars", "bitbucket.json") + fixturePath := filepath.Join("testdata", "more_circulars", "bitbucket.json") jazon, root := expandThisOrDieTrying(t, fixturePath) require.NotEmpty(t, jazon) @@ -177,7 +177,7 @@ func TestExpandCircular_Bitbucket(t *testing.T) { func TestExpandCircular_ResponseWithRoot(t *testing.T) { rootDoc := new(Swagger) - b, err := os.ReadFile(filepath.Join("fixtures", "more_circulars", "resp.json")) + b, err := os.ReadFile(filepath.Join("testdata", "more_circulars", "resp.json")) require.NoError(t, err) require.NoError(t, json.Unmarshal(b, rootDoc)) @@ -202,7 +202,7 @@ func TestExpandCircular_ResponseWithRoot(t *testing.T) { } func TestExpandCircular_Issue415(t *testing.T) { - jazon, root := expandThisOrDieTrying(t, filepath.Join("fixtures", "expansion", "clickmeter.json")) + jazon, root := expandThisOrDieTrying(t, filepath.Join("testdata", "expansion", "clickmeter.json")) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "#/definitions/") @@ -211,7 +211,7 @@ func TestExpandCircular_Issue415(t *testing.T) { } func TestExpandCircular_SpecExpansion(t *testing.T) { - jazon, root := expandThisOrDieTrying(t, filepath.Join("fixtures", "expansion", "circularSpec.json")) + jazon, root := expandThisOrDieTrying(t, filepath.Join("testdata", "expansion", "circularSpec.json")) require.NotEmpty(t, jazon) assertRefInJSON(t, jazon, "#/definitions/Book") @@ -221,7 +221,7 @@ func TestExpandCircular_SpecExpansion(t *testing.T) { func TestExpandCircular_RemoteCircularID(t *testing.T) { go func() { - err := http.ListenAndServe("localhost:1234", http.FileServer(http.Dir("fixtures/more_circulars/remote"))) //#nosec + err := http.ListenAndServe("localhost:1234", http.FileServer(http.Dir("testdata/more_circulars/remote"))) //#nosec if err != nil { panic(err.Error()) } @@ -241,7 +241,7 @@ func TestExpandCircular_RemoteCircularID(t *testing.T) { assertRefInJSONRegexp(t, jazon, "^http://localhost:1234/tree$") // $ref now point to the root doc // a spec using the previous circular schema - fixtureSpecPath := filepath.Join("fixtures", "more_circulars", "with-id.json") + fixtureSpecPath := filepath.Join("testdata", "more_circulars", "with-id.json") jazon, doc := expandThisOrDieTrying(t, fixtureSpecPath) assertRefInJSON(t, jazon, fixturePath) // all remaining $ref's point to the circular ID (http://...) @@ -254,7 +254,7 @@ func TestExpandCircular_RemoteCircularID(t *testing.T) { func TestCircular_RemoteExpandAzure(t *testing.T) { // local copy of Azure publicIpAddress.json from azure-rest-api-specs // (Microsoft.Network/stable/2020-04-01) - server := fixtureServer(t, "fixtures/azure") + server := fixtureServer(t, "testdata/azure") basePath := server.URL + "/publicIpAddress.json" jazon, sch := expandThisOrDieTrying(t, basePath) diff --git a/expander_test.go b/expander_test.go index f7be753b..16f8a26d 100644 --- a/expander_test.go +++ b/expander_test.go @@ -20,16 +20,16 @@ import ( ) const ( - crossFileRefFixture = "fixtures/expansion/crossFileRef.json" + crossFileRefFixture = "testdata/expansion/crossFileRef.json" withoutSchemaID = "removed" withSchemaID = "schema" - pathItemsFixture = "fixtures/expansion/pathItems.json" - extraRefFixture = "fixtures/expansion/extraRef.json" + pathItemsFixture = "testdata/expansion/pathItems.json" + extraRefFixture = "testdata/expansion/extraRef.json" ) //nolint:gochecknoglobals // it's okay to have embedded test fixtures as globals var ( - //go:embed all:fixtures + //go:embed all:testdata fixtureAssets embed.FS // PetStore20 json doc for swagger 2.0 pet store. @@ -40,32 +40,32 @@ var ( expectedExtraRef []byte expectedPathItem []byte - specs = filepath.Join("fixtures", "specs") + specs = filepath.Join("testdata", "specs") ) func init() { //nolint:gochecknoinits // it's okay to load embedded fixtures in init(). // load embedded fixtures var err error - PetStore20, err = fixtureAssets.ReadFile("fixtures/expansion/petstore2.0.json") + PetStore20, err = fixtureAssets.ReadFile("testdata/expansion/petstore2.0.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } PetStoreJSONMessage = json.RawMessage(PetStore20) - expectedExtraRef, err = fixtureAssets.ReadFile("fixtures/expansion/expectedExtraRef.json") + expectedExtraRef, err = fixtureAssets.ReadFile("testdata/expansion/expectedExtraRef.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } - expectedPathItem, err = fixtureAssets.ReadFile("fixtures/expansion/expectedPathItem.json") + expectedPathItem, err = fixtureAssets.ReadFile("testdata/expansion/expectedPathItem.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } } func TestExpand_Issue148(t *testing.T) { - fp := filepath.Join("fixtures", "bugs", "schema-148.json") + fp := filepath.Join("testdata", "bugs", "schema-148.json") b, err := jsonDoc(fp) require.NoError(t, err) @@ -109,7 +109,7 @@ func TestExpand_KnownRef(t *testing.T) { } func TestExpand_ResponseSchema(t *testing.T) { - fp := filepath.Join("fixtures", "local_expansion", "spec.json") + fp := filepath.Join("testdata", "local_expansion", "spec.json") b, err := jsonDoc(fp) require.NoError(t, err) @@ -152,7 +152,7 @@ func TestExpand_EmptySpec(t *testing.T) { func TestExpand_Spec(t *testing.T) { // expansion of a rich spec - specPath := filepath.Join("fixtures", "expansion", "all-the-things.json") + specPath := filepath.Join("testdata", "expansion", "all-the-things.json") specDoc, err := jsonDoc(specPath) require.NoError(t, err) @@ -199,7 +199,7 @@ func TestExpand_Spec(t *testing.T) { } func TestExpand_InternalResponse(t *testing.T) { - basePath := normalizeBase(filepath.Join("fixtures", "expansion", "all-the-things.json")) + basePath := normalizeBase(filepath.Join("testdata", "expansion", "all-the-things.json")) specDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -261,7 +261,7 @@ func TestExpand_InternalResponse(t *testing.T) { } func TestExpand_Response(t *testing.T) { - basePath := filepath.Join("fixtures", "expansion", "all-the-things.json") + basePath := filepath.Join("testdata", "expansion", "all-the-things.json") specDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -291,7 +291,7 @@ func TestExpand_Response(t *testing.T) { } func TestExpand_ResponseAndParamWithRoot(t *testing.T) { - specDoc, err := jsonDoc("fixtures/bugs/1614/gitea.json") + specDoc, err := jsonDoc("testdata/bugs/1614/gitea.json") require.NoError(t, err) var spec Swagger @@ -320,7 +320,7 @@ func TestExpand_ResponseAndParamWithRoot(t *testing.T) { } func TestExpand_InternalParameter(t *testing.T) { - basePath := normalizeBase(filepath.Join("fixtures", "expansion", "params.json")) + basePath := normalizeBase(filepath.Join("testdata", "expansion", "params.json")) paramDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -346,7 +346,7 @@ func TestExpand_InternalParameter(t *testing.T) { } func TestExpand_Parameter(t *testing.T) { - basePath := filepath.Join("fixtures", "expansion", "params.json") + basePath := filepath.Join("testdata", "expansion", "params.json") paramDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -398,7 +398,7 @@ func TestExpand_SwaggerSchema(t *testing.T) { } func TestExpand_ContinueOnError(t *testing.T) { - specPath := filepath.Join("fixtures", "expansion", "missingRef.json") + specPath := filepath.Join("testdata", "expansion", "missingRef.json") defer log.SetOutput(os.Stdout) log.SetOutput(io.Discard) @@ -422,7 +422,7 @@ func TestExpand_ContinueOnError(t *testing.T) { assert.Equal(t, testCase.Expected, testCase.Input, "Should continue expanding spec when a definition can't be found.") // missing $ref in items - doc, err := jsonDoc("fixtures/expansion/missingItemRef.json") + doc, err := jsonDoc("testdata/expansion/missingItemRef.json") require.NoError(t, err) spec := new(Swagger) @@ -434,7 +434,7 @@ func TestExpand_ContinueOnError(t *testing.T) { } func TestExpand_InternalSchemas2(t *testing.T) { - basePath := normalizeBase(filepath.Join("fixtures", "expansion", "schemas2.json")) + basePath := normalizeBase(filepath.Join("testdata", "expansion", "schemas2.json")) carsDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -597,7 +597,7 @@ func TestExpand_InternalSchemas2(t *testing.T) { } func TestExpand_InternalSchemas1(t *testing.T) { - basePath := normalizeBase(filepath.Join("fixtures", "expansion", "schemas1.json")) + basePath := normalizeBase(filepath.Join("testdata", "expansion", "schemas1.json")) carsDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -749,14 +749,14 @@ func TestExpand_InternalSchemas1(t *testing.T) { } func TestExpand_RelativeBaseURI(t *testing.T) { - server := fixtureServer(t, "fixtures/remote") + server := fixtureServer(t, "testdata/remote") spec := new(Swagger) require.NoError(t, ExpandSpec(spec, nil)) // this a spec on local fs... - specDoc, err := jsonDoc("fixtures/remote/all-the-things.json") + specDoc, err := jsonDoc("testdata/remote/all-the-things.json") require.NoError(t, err) spec = new(Swagger) diff --git a/resolver_test.go b/resolver_test.go index c949eca0..f872d6b8 100644 --- a/resolver_test.go +++ b/resolver_test.go @@ -42,7 +42,7 @@ func TestResolveRef(t *testing.T) { } func TestResolveResponse(t *testing.T) { - specDoc, err := jsonDoc(filepath.Join("fixtures", "expansion", "all-the-things.json")) + specDoc, err := jsonDoc(filepath.Join("testdata", "expansion", "all-the-things.json")) require.NoError(t, err) spec := new(Swagger) @@ -82,7 +82,7 @@ func TestResolveResponseWithBase(t *testing.T) { } func TestResolveParam(t *testing.T) { - specDoc, err := jsonDoc(filepath.Join("fixtures", "expansion", "all-the-things.json")) + specDoc, err := jsonDoc(filepath.Join("testdata", "expansion", "all-the-things.json")) require.NoError(t, err) var spec Swagger @@ -194,7 +194,7 @@ func TestResolveRemoteRef_FromInvalidFragment(t *testing.T) { // defer server.Close() // // rootDoc := new(Swagger) -// b, err := os.ReadFile("fixtures/specs/refed.json") +// b, err := os.ReadFile("testdata/specs/refed.json") // require.NoError(t, err) && assert.NoError(t, json.Unmarshal(b, rootDoc)) // // var tgt Schema diff --git a/schema_loader_test.go b/schema_loader_test.go index cc682d7d..c9aad88e 100644 --- a/schema_loader_test.go +++ b/schema_loader_test.go @@ -13,7 +13,7 @@ import ( func TestLoader_Issue145(t *testing.T) { t.Run("with ExpandSpec", func(t *testing.T) { - basePath := filepath.Join("fixtures", "bugs", "145", "Program Files (x86)", "AppName", "todos.json") + basePath := filepath.Join("testdata", "bugs", "145", "Program Files (x86)", "AppName", "todos.json") todosDoc, err := jsonDoc(basePath) require.NoError(t, err) @@ -24,7 +24,7 @@ func TestLoader_Issue145(t *testing.T) { }) t.Run("with ExpandSchema", func(t *testing.T) { - basePath := filepath.Join("fixtures", "bugs", "145", "Program Files (x86)", "AppName", "ref.json") + basePath := filepath.Join("testdata", "bugs", "145", "Program Files (x86)", "AppName", "ref.json") schemaDoc, err := jsonDoc(basePath) require.NoError(t, err) diff --git a/spec_test.go b/spec_test.go index 05976478..f8459c5e 100644 --- a/spec_test.go +++ b/spec_test.go @@ -17,7 +17,7 @@ import ( func TestSpec_Issue2743(t *testing.T) { t.Run("should expand but produce unresolvable $ref", func(t *testing.T) { - path := filepath.Join("fixtures", "bugs", "2743", "working", "spec.yaml") + path := filepath.Join("testdata", "bugs", "2743", "working", "spec.yaml") sp := loadOrFail(t, path) require.NoError(t, spec.ExpandSpec(sp, &spec.ExpandOptions{RelativeBase: path, SkipSchemas: true, PathLoader: testLoader}), @@ -31,7 +31,7 @@ func TestSpec_Issue2743(t *testing.T) { }) t.Run("should expand and produce resolvable $ref", func(t *testing.T) { - path := filepath.Join("fixtures", "bugs", "2743", "not-working", "spec.yaml") + path := filepath.Join("testdata", "bugs", "2743", "not-working", "spec.yaml") sp := loadOrFail(t, path) require.NoError(t, spec.ExpandSpec(sp, &spec.ExpandOptions{RelativeBase: path, SkipSchemas: true, PathLoader: testLoader}), @@ -47,7 +47,7 @@ func TestSpec_Issue2743(t *testing.T) { } func TestSpec_Issue1429(t *testing.T) { - path := filepath.Join("fixtures", "bugs", "1429", "swagger.yaml") + path := filepath.Join("testdata", "bugs", "1429", "swagger.yaml") // load and full expand sp := loadOrFail(t, path) @@ -142,7 +142,7 @@ func assertPaths1429SkipSchema(t testing.TB, sp *spec.Swagger) { } func TestSpec_MoreLocalExpansion(t *testing.T) { - path := filepath.Join("fixtures", "local_expansion", "spec2.yaml") + path := filepath.Join("testdata", "local_expansion", "spec2.yaml") // load and full expand sp := loadOrFail(t, path) @@ -155,7 +155,7 @@ func TestSpec_MoreLocalExpansion(t *testing.T) { func TestSpec_Issue69(t *testing.T) { // this checks expansion for the dapperbox spec (circular ref issues) - path := filepath.Join("fixtures", "bugs", "69", "dapperbox.json") + path := filepath.Join("testdata", "bugs", "69", "dapperbox.json") // expand with relative path // load and expand @@ -175,7 +175,7 @@ func TestSpec_Issue69(t *testing.T) { } func TestSpec_Issue1621(t *testing.T) { - path := filepath.Join("fixtures", "bugs", "1621", "fixture-1621.yaml") + path := filepath.Join("testdata", "bugs", "1621", "fixture-1621.yaml") // expand with relative path // load and expand @@ -191,7 +191,7 @@ func TestSpec_Issue1621(t *testing.T) { } func TestSpec_Issue1614(t *testing.T) { - path := filepath.Join("fixtures", "bugs", "1614", "gitea.json") + path := filepath.Join("testdata", "bugs", "1614", "gitea.json") // expand with relative path // load and expand @@ -229,7 +229,7 @@ func TestSpec_Issue1614(t *testing.T) { func TestSpec_Issue2113(t *testing.T) { // this checks expansion with nested specs - path := filepath.Join("fixtures", "bugs", "2113", "base.yaml") + path := filepath.Join("testdata", "bugs", "2113", "base.yaml") // load and expand sp := loadOrFail(t, path) @@ -264,7 +264,7 @@ func TestSpec_Issue2113_External(t *testing.T) { // Provides more ground for testing with schemas nested in $refs // this checks expansion with nested specs - path := filepath.Join("fixtures", "skipschema", "external_definitions_valid.yml") + path := filepath.Join("testdata", "skipschema", "external_definitions_valid.yml") // load and expand, skipping schema expansion sp := loadOrFail(t, path) @@ -300,7 +300,7 @@ func TestSpec_Issue2113_SkipSchema(t *testing.T) { // Provides more ground for testing with schemas nested in $refs // this checks expansion with nested specs - path := filepath.Join("fixtures", "flatten", "flatten.yml") + path := filepath.Join("testdata", "flatten", "flatten.yml") // load and expand, skipping schema expansion sp := loadOrFail(t, path) @@ -329,7 +329,7 @@ func TestSpec_PointersLoop(t *testing.T) { // however, it should be expanded without errors // this checks expansion with nested specs - path := filepath.Join("fixtures", "more_circulars", "pointers", "fixture-pointers-loop.yaml") + path := filepath.Join("testdata", "more_circulars", "pointers", "fixture-pointers-loop.yaml") // load and expand, skipping schema expansion sp := loadOrFail(t, path) @@ -361,7 +361,7 @@ func TestSpec_PointersLoop(t *testing.T) { func TestSpec_Issue102(t *testing.T) { // go-openapi/validate/issues#102 - path := filepath.Join("fixtures", "bugs", "102", "fixture-102.json") + path := filepath.Join("testdata", "bugs", "102", "fixture-102.json") sp := loadOrFail(t, path) require.NoError(t, spec.ExpandSpec(sp, nil)) diff --git a/swagger_test.go b/swagger_test.go index 9ec0cad9..1f0a1ae0 100644 --- a/swagger_test.go +++ b/swagger_test.go @@ -23,17 +23,17 @@ func init() { //nolint:gochecknoinits // it's okay to load embedded fixtures in // load embedded fixtures var err error - specJSON, err = fixtureAssets.ReadFile("fixtures/specs/spec.json") + specJSON, err = fixtureAssets.ReadFile("testdata/specs/spec.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } - minimalJSONSpec, err = fixtureAssets.ReadFile("fixtures/specs/minimal_spec.json") + minimalJSONSpec, err = fixtureAssets.ReadFile("testdata/specs/minimal_spec.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } - miniJSONSpec, err = fixtureAssets.ReadFile("fixtures/specs/mini_spec.json") + miniJSONSpec, err = fixtureAssets.ReadFile("testdata/specs/mini_spec.json") if err != nil { panic(fmt.Sprintf("could not find fixture: %v", err)) } diff --git a/fixtures/azure/applicationGateway.json b/testdata/azure/applicationGateway.json similarity index 100% rename from fixtures/azure/applicationGateway.json rename to testdata/azure/applicationGateway.json diff --git a/fixtures/azure/applicationSecurityGroup.json b/testdata/azure/applicationSecurityGroup.json similarity index 100% rename from fixtures/azure/applicationSecurityGroup.json rename to testdata/azure/applicationSecurityGroup.json diff --git a/fixtures/azure/examples/NetworkInterfaceCreate.json b/testdata/azure/examples/NetworkInterfaceCreate.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceCreate.json rename to testdata/azure/examples/NetworkInterfaceCreate.json diff --git a/fixtures/azure/examples/NetworkInterfaceDelete.json b/testdata/azure/examples/NetworkInterfaceDelete.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceDelete.json rename to testdata/azure/examples/NetworkInterfaceDelete.json diff --git a/fixtures/azure/examples/NetworkInterfaceEffectiveNSGList.json b/testdata/azure/examples/NetworkInterfaceEffectiveNSGList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceEffectiveNSGList.json rename to testdata/azure/examples/NetworkInterfaceEffectiveNSGList.json diff --git a/fixtures/azure/examples/NetworkInterfaceEffectiveRouteTableList.json b/testdata/azure/examples/NetworkInterfaceEffectiveRouteTableList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceEffectiveRouteTableList.json rename to testdata/azure/examples/NetworkInterfaceEffectiveRouteTableList.json diff --git a/fixtures/azure/examples/NetworkInterfaceGet.json b/testdata/azure/examples/NetworkInterfaceGet.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceGet.json rename to testdata/azure/examples/NetworkInterfaceGet.json diff --git a/fixtures/azure/examples/NetworkInterfaceIPConfigurationGet.json b/testdata/azure/examples/NetworkInterfaceIPConfigurationGet.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceIPConfigurationGet.json rename to testdata/azure/examples/NetworkInterfaceIPConfigurationGet.json diff --git a/fixtures/azure/examples/NetworkInterfaceIPConfigurationList.json b/testdata/azure/examples/NetworkInterfaceIPConfigurationList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceIPConfigurationList.json rename to testdata/azure/examples/NetworkInterfaceIPConfigurationList.json diff --git a/fixtures/azure/examples/NetworkInterfaceList.json b/testdata/azure/examples/NetworkInterfaceList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceList.json rename to testdata/azure/examples/NetworkInterfaceList.json diff --git a/fixtures/azure/examples/NetworkInterfaceListAll.json b/testdata/azure/examples/NetworkInterfaceListAll.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceListAll.json rename to testdata/azure/examples/NetworkInterfaceListAll.json diff --git a/fixtures/azure/examples/NetworkInterfaceLoadBalancerList.json b/testdata/azure/examples/NetworkInterfaceLoadBalancerList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceLoadBalancerList.json rename to testdata/azure/examples/NetworkInterfaceLoadBalancerList.json diff --git a/fixtures/azure/examples/NetworkInterfaceTapConfigurationCreate.json b/testdata/azure/examples/NetworkInterfaceTapConfigurationCreate.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceTapConfigurationCreate.json rename to testdata/azure/examples/NetworkInterfaceTapConfigurationCreate.json diff --git a/fixtures/azure/examples/NetworkInterfaceTapConfigurationDelete.json b/testdata/azure/examples/NetworkInterfaceTapConfigurationDelete.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceTapConfigurationDelete.json rename to testdata/azure/examples/NetworkInterfaceTapConfigurationDelete.json diff --git a/fixtures/azure/examples/NetworkInterfaceTapConfigurationGet.json b/testdata/azure/examples/NetworkInterfaceTapConfigurationGet.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceTapConfigurationGet.json rename to testdata/azure/examples/NetworkInterfaceTapConfigurationGet.json diff --git a/fixtures/azure/examples/NetworkInterfaceTapConfigurationList.json b/testdata/azure/examples/NetworkInterfaceTapConfigurationList.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceTapConfigurationList.json rename to testdata/azure/examples/NetworkInterfaceTapConfigurationList.json diff --git a/fixtures/azure/examples/NetworkInterfaceUpdateTags.json b/testdata/azure/examples/NetworkInterfaceUpdateTags.json similarity index 100% rename from fixtures/azure/examples/NetworkInterfaceUpdateTags.json rename to testdata/azure/examples/NetworkInterfaceUpdateTags.json diff --git a/fixtures/azure/examples/PublicIpAddressCreateCustomizedValues.json b/testdata/azure/examples/PublicIpAddressCreateCustomizedValues.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressCreateCustomizedValues.json rename to testdata/azure/examples/PublicIpAddressCreateCustomizedValues.json diff --git a/fixtures/azure/examples/PublicIpAddressCreateDefaults.json b/testdata/azure/examples/PublicIpAddressCreateDefaults.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressCreateDefaults.json rename to testdata/azure/examples/PublicIpAddressCreateDefaults.json diff --git a/fixtures/azure/examples/PublicIpAddressCreateDns.json b/testdata/azure/examples/PublicIpAddressCreateDns.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressCreateDns.json rename to testdata/azure/examples/PublicIpAddressCreateDns.json diff --git a/fixtures/azure/examples/PublicIpAddressDelete.json b/testdata/azure/examples/PublicIpAddressDelete.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressDelete.json rename to testdata/azure/examples/PublicIpAddressDelete.json diff --git a/fixtures/azure/examples/PublicIpAddressGet.json b/testdata/azure/examples/PublicIpAddressGet.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressGet.json rename to testdata/azure/examples/PublicIpAddressGet.json diff --git a/fixtures/azure/examples/PublicIpAddressList.json b/testdata/azure/examples/PublicIpAddressList.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressList.json rename to testdata/azure/examples/PublicIpAddressList.json diff --git a/fixtures/azure/examples/PublicIpAddressListAll.json b/testdata/azure/examples/PublicIpAddressListAll.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressListAll.json rename to testdata/azure/examples/PublicIpAddressListAll.json diff --git a/fixtures/azure/examples/PublicIpAddressUpdateTags.json b/testdata/azure/examples/PublicIpAddressUpdateTags.json similarity index 100% rename from fixtures/azure/examples/PublicIpAddressUpdateTags.json rename to testdata/azure/examples/PublicIpAddressUpdateTags.json diff --git a/fixtures/azure/loadBalancer.json b/testdata/azure/loadBalancer.json similarity index 100% rename from fixtures/azure/loadBalancer.json rename to testdata/azure/loadBalancer.json diff --git a/fixtures/azure/network.json b/testdata/azure/network.json similarity index 100% rename from fixtures/azure/network.json rename to testdata/azure/network.json diff --git a/fixtures/azure/networkInterface.json b/testdata/azure/networkInterface.json similarity index 100% rename from fixtures/azure/networkInterface.json rename to testdata/azure/networkInterface.json diff --git a/fixtures/azure/networkProfile.json b/testdata/azure/networkProfile.json similarity index 100% rename from fixtures/azure/networkProfile.json rename to testdata/azure/networkProfile.json diff --git a/fixtures/azure/networkSecurityGroup.json b/testdata/azure/networkSecurityGroup.json similarity index 100% rename from fixtures/azure/networkSecurityGroup.json rename to testdata/azure/networkSecurityGroup.json diff --git a/fixtures/azure/networkWatcher.json b/testdata/azure/networkWatcher.json similarity index 100% rename from fixtures/azure/networkWatcher.json rename to testdata/azure/networkWatcher.json diff --git a/fixtures/azure/privateEndpoint.json b/testdata/azure/privateEndpoint.json similarity index 100% rename from fixtures/azure/privateEndpoint.json rename to testdata/azure/privateEndpoint.json diff --git a/fixtures/azure/privateLinkService.json b/testdata/azure/privateLinkService.json similarity index 100% rename from fixtures/azure/privateLinkService.json rename to testdata/azure/privateLinkService.json diff --git a/fixtures/azure/publicIpAddress.json b/testdata/azure/publicIpAddress.json similarity index 100% rename from fixtures/azure/publicIpAddress.json rename to testdata/azure/publicIpAddress.json diff --git a/fixtures/azure/routeTable.json b/testdata/azure/routeTable.json similarity index 100% rename from fixtures/azure/routeTable.json rename to testdata/azure/routeTable.json diff --git a/fixtures/azure/serviceEndpointPolicy.json b/testdata/azure/serviceEndpointPolicy.json similarity index 100% rename from fixtures/azure/serviceEndpointPolicy.json rename to testdata/azure/serviceEndpointPolicy.json diff --git a/fixtures/azure/virtualNetwork.json b/testdata/azure/virtualNetwork.json similarity index 100% rename from fixtures/azure/virtualNetwork.json rename to testdata/azure/virtualNetwork.json diff --git a/fixtures/azure/virtualNetworkTap.json b/testdata/azure/virtualNetworkTap.json similarity index 100% rename from fixtures/azure/virtualNetworkTap.json rename to testdata/azure/virtualNetworkTap.json diff --git a/fixtures/bugs/102/fixture-102.json b/testdata/bugs/102/fixture-102.json similarity index 100% rename from fixtures/bugs/102/fixture-102.json rename to testdata/bugs/102/fixture-102.json diff --git a/fixtures/bugs/1429/remote/farther/farther.yaml b/testdata/bugs/1429/remote/farther/farther.yaml similarity index 100% rename from fixtures/bugs/1429/remote/farther/farther.yaml rename to testdata/bugs/1429/remote/farther/farther.yaml diff --git a/fixtures/bugs/1429/remote/remote.yaml b/testdata/bugs/1429/remote/remote.yaml similarity index 100% rename from fixtures/bugs/1429/remote/remote.yaml rename to testdata/bugs/1429/remote/remote.yaml diff --git a/fixtures/bugs/1429/remote/remote/remote.yaml b/testdata/bugs/1429/remote/remote/remote.yaml similarity index 100% rename from fixtures/bugs/1429/remote/remote/remote.yaml rename to testdata/bugs/1429/remote/remote/remote.yaml diff --git a/fixtures/bugs/1429/responses.yaml b/testdata/bugs/1429/responses.yaml similarity index 100% rename from fixtures/bugs/1429/responses.yaml rename to testdata/bugs/1429/responses.yaml diff --git a/fixtures/bugs/1429/swagger.yaml b/testdata/bugs/1429/swagger.yaml similarity index 100% rename from fixtures/bugs/1429/swagger.yaml rename to testdata/bugs/1429/swagger.yaml 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.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/1614/gitea.json b/testdata/bugs/1614/gitea.json similarity index 100% rename from fixtures/bugs/1614/gitea.json rename to testdata/bugs/1614/gitea.json diff --git a/fixtures/bugs/1621/definitions.yaml b/testdata/bugs/1621/definitions.yaml similarity index 100% rename from fixtures/bugs/1621/definitions.yaml rename to testdata/bugs/1621/definitions.yaml diff --git a/fixtures/bugs/1621/fixture-1621.yaml b/testdata/bugs/1621/fixture-1621.yaml similarity index 100% rename from fixtures/bugs/1621/fixture-1621.yaml rename to testdata/bugs/1621/fixture-1621.yaml diff --git a/fixtures/bugs/1621/parameters.yaml b/testdata/bugs/1621/parameters.yaml similarity index 100% rename from fixtures/bugs/1621/parameters.yaml rename to testdata/bugs/1621/parameters.yaml diff --git a/fixtures/bugs/1621/responses.yaml b/testdata/bugs/1621/responses.yaml similarity index 100% rename from fixtures/bugs/1621/responses.yaml rename to testdata/bugs/1621/responses.yaml diff --git a/fixtures/bugs/2113/base.yaml b/testdata/bugs/2113/base.yaml similarity index 100% rename from fixtures/bugs/2113/base.yaml rename to testdata/bugs/2113/base.yaml diff --git a/fixtures/bugs/2113/schemas/api/api.yaml b/testdata/bugs/2113/schemas/api/api.yaml similarity index 100% rename from fixtures/bugs/2113/schemas/api/api.yaml rename to testdata/bugs/2113/schemas/api/api.yaml diff --git a/fixtures/bugs/2113/schemas/dummy/dummy.yaml b/testdata/bugs/2113/schemas/dummy/dummy.yaml similarity index 100% rename from fixtures/bugs/2113/schemas/dummy/dummy.yaml rename to testdata/bugs/2113/schemas/dummy/dummy.yaml diff --git a/fixtures/bugs/2113/schemas/example/example.yaml b/testdata/bugs/2113/schemas/example/example.yaml similarity index 100% rename from fixtures/bugs/2113/schemas/example/example.yaml rename to testdata/bugs/2113/schemas/example/example.yaml diff --git a/fixtures/bugs/2743/not-working/minimal.yaml b/testdata/bugs/2743/not-working/minimal.yaml similarity index 100% rename from fixtures/bugs/2743/not-working/minimal.yaml rename to testdata/bugs/2743/not-working/minimal.yaml diff --git a/fixtures/bugs/2743/not-working/spec.yaml b/testdata/bugs/2743/not-working/spec.yaml similarity index 100% rename from fixtures/bugs/2743/not-working/spec.yaml rename to testdata/bugs/2743/not-working/spec.yaml diff --git a/fixtures/bugs/2743/not-working/swagger/definitions.yml b/testdata/bugs/2743/not-working/swagger/definitions.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/definitions.yml rename to testdata/bugs/2743/not-working/swagger/definitions.yml diff --git a/fixtures/bugs/2743/not-working/swagger/items.yml b/testdata/bugs/2743/not-working/swagger/items.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/items.yml rename to testdata/bugs/2743/not-working/swagger/items.yml diff --git a/fixtures/bugs/2743/not-working/swagger/paths/bar.yml b/testdata/bugs/2743/not-working/swagger/paths/bar.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/paths/bar.yml rename to testdata/bugs/2743/not-working/swagger/paths/bar.yml diff --git a/fixtures/bugs/2743/not-working/swagger/paths/foo.yml b/testdata/bugs/2743/not-working/swagger/paths/foo.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/paths/foo.yml rename to testdata/bugs/2743/not-working/swagger/paths/foo.yml diff --git a/fixtures/bugs/2743/not-working/swagger/paths/index.yml b/testdata/bugs/2743/not-working/swagger/paths/index.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/paths/index.yml rename to testdata/bugs/2743/not-working/swagger/paths/index.yml diff --git a/fixtures/bugs/2743/not-working/swagger/paths/nested.yml b/testdata/bugs/2743/not-working/swagger/paths/nested.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/paths/nested.yml rename to testdata/bugs/2743/not-working/swagger/paths/nested.yml diff --git a/fixtures/bugs/2743/not-working/swagger/user/index.yml b/testdata/bugs/2743/not-working/swagger/user/index.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/user/index.yml rename to testdata/bugs/2743/not-working/swagger/user/index.yml diff --git a/fixtures/bugs/2743/not-working/swagger/user/model.yml b/testdata/bugs/2743/not-working/swagger/user/model.yml similarity index 100% rename from fixtures/bugs/2743/not-working/swagger/user/model.yml rename to testdata/bugs/2743/not-working/swagger/user/model.yml diff --git a/fixtures/bugs/2743/working/spec.yaml b/testdata/bugs/2743/working/spec.yaml similarity index 100% rename from fixtures/bugs/2743/working/spec.yaml rename to testdata/bugs/2743/working/spec.yaml diff --git a/fixtures/bugs/2743/working/swagger/definitions.yml b/testdata/bugs/2743/working/swagger/definitions.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/definitions.yml rename to testdata/bugs/2743/working/swagger/definitions.yml diff --git a/fixtures/bugs/2743/working/swagger/items.yml b/testdata/bugs/2743/working/swagger/items.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/items.yml rename to testdata/bugs/2743/working/swagger/items.yml diff --git a/fixtures/bugs/2743/working/swagger/paths/bar.yml b/testdata/bugs/2743/working/swagger/paths/bar.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/paths/bar.yml rename to testdata/bugs/2743/working/swagger/paths/bar.yml diff --git a/fixtures/bugs/2743/working/swagger/paths/foo.yml b/testdata/bugs/2743/working/swagger/paths/foo.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/paths/foo.yml rename to testdata/bugs/2743/working/swagger/paths/foo.yml diff --git a/fixtures/bugs/2743/working/swagger/paths/index.yml b/testdata/bugs/2743/working/swagger/paths/index.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/paths/index.yml rename to testdata/bugs/2743/working/swagger/paths/index.yml diff --git a/fixtures/bugs/2743/working/swagger/paths/nested.yml b/testdata/bugs/2743/working/swagger/paths/nested.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/paths/nested.yml rename to testdata/bugs/2743/working/swagger/paths/nested.yml diff --git a/fixtures/bugs/2743/working/swagger/user/index.yml b/testdata/bugs/2743/working/swagger/user/index.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/user/index.yml rename to testdata/bugs/2743/working/swagger/user/index.yml diff --git a/fixtures/bugs/2743/working/swagger/user/model.yml b/testdata/bugs/2743/working/swagger/user/model.yml similarity index 100% rename from fixtures/bugs/2743/working/swagger/user/model.yml rename to testdata/bugs/2743/working/swagger/user/model.yml diff --git a/fixtures/bugs/69/dapperbox.json b/testdata/bugs/69/dapperbox.json similarity index 100% rename from fixtures/bugs/69/dapperbox.json rename to testdata/bugs/69/dapperbox.json diff --git a/fixtures/bugs/957/fixture-957.json b/testdata/bugs/957/fixture-957.json similarity index 100% rename from fixtures/bugs/957/fixture-957.json rename to testdata/bugs/957/fixture-957.json diff --git a/fixtures/bugs/schema-148.json b/testdata/bugs/schema-148.json similarity index 100% rename from fixtures/bugs/schema-148.json rename to testdata/bugs/schema-148.json diff --git a/fixtures/expansion/all-the-things.json b/testdata/expansion/all-the-things.json similarity index 100% rename from fixtures/expansion/all-the-things.json rename to testdata/expansion/all-the-things.json diff --git a/fixtures/expansion/circular-minimal.json b/testdata/expansion/circular-minimal.json similarity index 100% rename from fixtures/expansion/circular-minimal.json rename to testdata/expansion/circular-minimal.json diff --git a/fixtures/expansion/circularRefs.json b/testdata/expansion/circularRefs.json similarity index 100% rename from fixtures/expansion/circularRefs.json rename to testdata/expansion/circularRefs.json diff --git a/fixtures/expansion/circularSpec.json b/testdata/expansion/circularSpec.json similarity index 100% rename from fixtures/expansion/circularSpec.json rename to testdata/expansion/circularSpec.json diff --git a/fixtures/expansion/circularSpec.yaml b/testdata/expansion/circularSpec.yaml similarity index 100% rename from fixtures/expansion/circularSpec.yaml rename to testdata/expansion/circularSpec.yaml diff --git a/fixtures/expansion/circularSpec2.json b/testdata/expansion/circularSpec2.json similarity index 100% rename from fixtures/expansion/circularSpec2.json rename to testdata/expansion/circularSpec2.json diff --git a/fixtures/expansion/clickmeter.json b/testdata/expansion/clickmeter.json similarity index 100% rename from fixtures/expansion/clickmeter.json rename to testdata/expansion/clickmeter.json diff --git a/fixtures/expansion/clickmeter.yaml b/testdata/expansion/clickmeter.yaml similarity index 100% rename from fixtures/expansion/clickmeter.yaml rename to testdata/expansion/clickmeter.yaml diff --git a/fixtures/expansion/crossFileRef.json b/testdata/expansion/crossFileRef.json similarity index 100% rename from fixtures/expansion/crossFileRef.json rename to testdata/expansion/crossFileRef.json diff --git a/fixtures/expansion/expectedExtraRef.json b/testdata/expansion/expectedExtraRef.json similarity index 100% rename from fixtures/expansion/expectedExtraRef.json rename to testdata/expansion/expectedExtraRef.json diff --git a/fixtures/expansion/expectedPathItem.json b/testdata/expansion/expectedPathItem.json similarity index 100% rename from fixtures/expansion/expectedPathItem.json rename to testdata/expansion/expectedPathItem.json diff --git a/fixtures/expansion/extraRef.json b/testdata/expansion/extraRef.json similarity index 100% rename from fixtures/expansion/extraRef.json rename to testdata/expansion/extraRef.json diff --git a/fixtures/expansion/invalid-refs.json b/testdata/expansion/invalid-refs.json similarity index 100% rename from fixtures/expansion/invalid-refs.json rename to testdata/expansion/invalid-refs.json diff --git a/fixtures/expansion/missingItemRef.json b/testdata/expansion/missingItemRef.json similarity index 100% rename from fixtures/expansion/missingItemRef.json rename to testdata/expansion/missingItemRef.json diff --git a/fixtures/expansion/missingRef.json b/testdata/expansion/missingRef.json similarity index 100% rename from fixtures/expansion/missingRef.json rename to testdata/expansion/missingRef.json diff --git a/fixtures/expansion/overflow.json b/testdata/expansion/overflow.json similarity index 100% rename from fixtures/expansion/overflow.json rename to testdata/expansion/overflow.json diff --git a/fixtures/expansion/params.json b/testdata/expansion/params.json similarity index 100% rename from fixtures/expansion/params.json rename to testdata/expansion/params.json diff --git a/fixtures/expansion/pathItem1.json b/testdata/expansion/pathItem1.json similarity index 100% rename from fixtures/expansion/pathItem1.json rename to testdata/expansion/pathItem1.json diff --git a/fixtures/expansion/pathItems.json b/testdata/expansion/pathItems.json similarity index 100% rename from fixtures/expansion/pathItems.json rename to testdata/expansion/pathItems.json diff --git a/fixtures/expansion/petstore2.0.json b/testdata/expansion/petstore2.0.json similarity index 100% rename from fixtures/expansion/petstore2.0.json rename to testdata/expansion/petstore2.0.json diff --git a/fixtures/expansion/schemas1.json b/testdata/expansion/schemas1.json similarity index 100% rename from fixtures/expansion/schemas1.json rename to testdata/expansion/schemas1.json diff --git a/fixtures/expansion/schemas2.json b/testdata/expansion/schemas2.json similarity index 100% rename from fixtures/expansion/schemas2.json rename to testdata/expansion/schemas2.json diff --git a/fixtures/flatten/external/definitions.yml b/testdata/flatten/external/definitions.yml similarity index 100% rename from fixtures/flatten/external/definitions.yml rename to testdata/flatten/external/definitions.yml diff --git a/fixtures/flatten/external/definitions2.yml b/testdata/flatten/external/definitions2.yml similarity index 100% rename from fixtures/flatten/external/definitions2.yml rename to testdata/flatten/external/definitions2.yml diff --git a/fixtures/flatten/external/errors.yml b/testdata/flatten/external/errors.yml similarity index 100% rename from fixtures/flatten/external/errors.yml rename to testdata/flatten/external/errors.yml diff --git a/fixtures/flatten/external/nestedParams.yml b/testdata/flatten/external/nestedParams.yml similarity index 100% rename from fixtures/flatten/external/nestedParams.yml rename to testdata/flatten/external/nestedParams.yml diff --git a/fixtures/flatten/external/nestedResponses.yml b/testdata/flatten/external/nestedResponses.yml similarity index 100% rename from fixtures/flatten/external/nestedResponses.yml rename to testdata/flatten/external/nestedResponses.yml diff --git a/fixtures/flatten/external/parameters.yml b/testdata/flatten/external/parameters.yml similarity index 100% rename from fixtures/flatten/external/parameters.yml rename to testdata/flatten/external/parameters.yml diff --git a/fixtures/flatten/external/pathItem.yml b/testdata/flatten/external/pathItem.yml similarity index 100% rename from fixtures/flatten/external/pathItem.yml rename to testdata/flatten/external/pathItem.yml diff --git a/fixtures/flatten/external/responses.yml b/testdata/flatten/external/responses.yml similarity index 100% rename from fixtures/flatten/external/responses.yml rename to testdata/flatten/external/responses.yml diff --git a/fixtures/flatten/flatten.yml b/testdata/flatten/flatten.yml similarity index 100% rename from fixtures/flatten/flatten.yml rename to testdata/flatten/flatten.yml diff --git a/fixtures/local_expansion/item.json b/testdata/local_expansion/item.json similarity index 100% rename from fixtures/local_expansion/item.json rename to testdata/local_expansion/item.json diff --git a/fixtures/local_expansion/item2.yaml b/testdata/local_expansion/item2.yaml similarity index 100% rename from fixtures/local_expansion/item2.yaml rename to testdata/local_expansion/item2.yaml diff --git a/fixtures/local_expansion/spec.json b/testdata/local_expansion/spec.json similarity index 100% rename from fixtures/local_expansion/spec.json rename to testdata/local_expansion/spec.json diff --git a/fixtures/local_expansion/spec2.yaml b/testdata/local_expansion/spec2.yaml similarity index 100% rename from fixtures/local_expansion/spec2.yaml rename to testdata/local_expansion/spec2.yaml diff --git a/fixtures/more_circulars/bitbucket.json b/testdata/more_circulars/bitbucket.json similarity index 100% rename from fixtures/more_circulars/bitbucket.json rename to testdata/more_circulars/bitbucket.json diff --git a/fixtures/more_circulars/item.json b/testdata/more_circulars/item.json similarity index 100% rename from fixtures/more_circulars/item.json rename to testdata/more_circulars/item.json diff --git a/fixtures/more_circulars/item2.json b/testdata/more_circulars/item2.json similarity index 100% rename from fixtures/more_circulars/item2.json rename to testdata/more_circulars/item2.json diff --git a/fixtures/more_circulars/item4.json b/testdata/more_circulars/item4.json similarity index 100% rename from fixtures/more_circulars/item4.json rename to testdata/more_circulars/item4.json diff --git a/fixtures/more_circulars/pointers/fixture-pointers-loop.yaml b/testdata/more_circulars/pointers/fixture-pointers-loop.yaml similarity index 100% rename from fixtures/more_circulars/pointers/fixture-pointers-loop.yaml rename to testdata/more_circulars/pointers/fixture-pointers-loop.yaml diff --git a/fixtures/more_circulars/pointers/fixture-pointers.yaml b/testdata/more_circulars/pointers/fixture-pointers.yaml similarity index 100% rename from fixtures/more_circulars/pointers/fixture-pointers.yaml rename to testdata/more_circulars/pointers/fixture-pointers.yaml diff --git a/fixtures/more_circulars/pointers/remote.yaml b/testdata/more_circulars/pointers/remote.yaml similarity index 100% rename from fixtures/more_circulars/pointers/remote.yaml rename to testdata/more_circulars/pointers/remote.yaml diff --git a/fixtures/more_circulars/remote/tree b/testdata/more_circulars/remote/tree similarity index 100% rename from fixtures/more_circulars/remote/tree rename to testdata/more_circulars/remote/tree diff --git a/fixtures/more_circulars/resp.json b/testdata/more_circulars/resp.json similarity index 100% rename from fixtures/more_circulars/resp.json rename to testdata/more_circulars/resp.json diff --git a/fixtures/more_circulars/spec.json b/testdata/more_circulars/spec.json similarity index 100% rename from fixtures/more_circulars/spec.json rename to testdata/more_circulars/spec.json diff --git a/fixtures/more_circulars/spec2.json b/testdata/more_circulars/spec2.json similarity index 100% rename from fixtures/more_circulars/spec2.json rename to testdata/more_circulars/spec2.json diff --git a/fixtures/more_circulars/spec3.json b/testdata/more_circulars/spec3.json similarity index 100% rename from fixtures/more_circulars/spec3.json rename to testdata/more_circulars/spec3.json diff --git a/fixtures/more_circulars/spec4.json b/testdata/more_circulars/spec4.json similarity index 100% rename from fixtures/more_circulars/spec4.json rename to testdata/more_circulars/spec4.json diff --git a/fixtures/more_circulars/with-id.json b/testdata/more_circulars/with-id.json similarity index 100% rename from fixtures/more_circulars/with-id.json rename to testdata/more_circulars/with-id.json diff --git a/fixtures/remote/all-the-things.json b/testdata/remote/all-the-things.json similarity index 100% rename from fixtures/remote/all-the-things.json rename to testdata/remote/all-the-things.json diff --git a/fixtures/remote/pet/pet.json b/testdata/remote/pet/pet.json similarity index 100% rename from fixtures/remote/pet/pet.json rename to testdata/remote/pet/pet.json diff --git a/fixtures/skipschema/external/definitions.yml b/testdata/skipschema/external/definitions.yml similarity index 100% rename from fixtures/skipschema/external/definitions.yml rename to testdata/skipschema/external/definitions.yml diff --git a/fixtures/skipschema/external/definitions2.yml b/testdata/skipschema/external/definitions2.yml similarity index 100% rename from fixtures/skipschema/external/definitions2.yml rename to testdata/skipschema/external/definitions2.yml diff --git a/fixtures/skipschema/external/errors.yml b/testdata/skipschema/external/errors.yml similarity index 100% rename from fixtures/skipschema/external/errors.yml rename to testdata/skipschema/external/errors.yml diff --git a/fixtures/skipschema/external/nestedParams.yml b/testdata/skipschema/external/nestedParams.yml similarity index 100% rename from fixtures/skipschema/external/nestedParams.yml rename to testdata/skipschema/external/nestedParams.yml diff --git a/fixtures/skipschema/external/nestedResponses.yml b/testdata/skipschema/external/nestedResponses.yml similarity index 100% rename from fixtures/skipschema/external/nestedResponses.yml rename to testdata/skipschema/external/nestedResponses.yml diff --git a/fixtures/skipschema/external/parameters.yml b/testdata/skipschema/external/parameters.yml similarity index 100% rename from fixtures/skipschema/external/parameters.yml rename to testdata/skipschema/external/parameters.yml diff --git a/fixtures/skipschema/external/pathItem.yml b/testdata/skipschema/external/pathItem.yml similarity index 100% rename from fixtures/skipschema/external/pathItem.yml rename to testdata/skipschema/external/pathItem.yml diff --git a/fixtures/skipschema/external/responses.yml b/testdata/skipschema/external/responses.yml similarity index 100% rename from fixtures/skipschema/external/responses.yml rename to testdata/skipschema/external/responses.yml diff --git a/fixtures/skipschema/external_definitions_valid.yml b/testdata/skipschema/external_definitions_valid.yml similarity index 100% rename from fixtures/skipschema/external_definitions_valid.yml rename to testdata/skipschema/external_definitions_valid.yml diff --git a/fixtures/specs/deeper/arrayProp.json b/testdata/specs/deeper/arrayProp.json similarity index 100% rename from fixtures/specs/deeper/arrayProp.json rename to testdata/specs/deeper/arrayProp.json diff --git a/fixtures/specs/deeper/stringProp.json b/testdata/specs/deeper/stringProp.json similarity index 100% rename from fixtures/specs/deeper/stringProp.json rename to testdata/specs/deeper/stringProp.json diff --git a/fixtures/specs/mini_spec.json b/testdata/specs/mini_spec.json similarity index 100% rename from fixtures/specs/mini_spec.json rename to testdata/specs/mini_spec.json diff --git a/fixtures/specs/minimal_spec.json b/testdata/specs/minimal_spec.json similarity index 100% rename from fixtures/specs/minimal_spec.json rename to testdata/specs/minimal_spec.json diff --git a/fixtures/specs/refed.json b/testdata/specs/refed.json similarity index 100% rename from fixtures/specs/refed.json rename to testdata/specs/refed.json diff --git a/fixtures/specs/resolution.json b/testdata/specs/resolution.json similarity index 100% rename from fixtures/specs/resolution.json rename to testdata/specs/resolution.json diff --git a/fixtures/specs/resolution2.json b/testdata/specs/resolution2.json similarity index 100% rename from fixtures/specs/resolution2.json rename to testdata/specs/resolution2.json diff --git a/fixtures/specs/spec.json b/testdata/specs/spec.json similarity index 100% rename from fixtures/specs/spec.json rename to testdata/specs/spec.json diff --git a/fixtures/specs/todos.common.json b/testdata/specs/todos.common.json similarity index 100% rename from fixtures/specs/todos.common.json rename to testdata/specs/todos.common.json diff --git a/fixtures/specs/todos.json b/testdata/specs/todos.json similarity index 100% rename from fixtures/specs/todos.json rename to testdata/specs/todos.json