├── .editorconfig ├── .github ├── CONTRIBUTING.md ├── dependabot.yaml └── workflows │ ├── auto-merge.yml │ └── go-test.yml ├── .gitignore ├── .golangci.yml ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── doc.go ├── doc_test.go ├── errors.go ├── examples_test.go ├── fixtures ├── bugs │ ├── 145 │ │ └── Program Files (x86) │ │ │ └── AppName │ │ │ ├── ref.json │ │ │ ├── todos-expanded.json │ │ │ ├── todos.common.json │ │ │ └── todos.json │ └── 1816 │ │ └── fixture-1816.yaml ├── json │ ├── models │ │ ├── modelWithArrayRef.json │ │ ├── modelWithComposition.json │ │ ├── modelWithDateTimeMap.json │ │ ├── modelWithExamples.json │ │ ├── modelWithInt32Map.json │ │ ├── modelWithInt64Map.json │ │ ├── modelWithMultipleProperties.json │ │ ├── modelWithObjectMap.json │ │ ├── modelWithPrimitiveArray.json │ │ ├── modelWithStringProperty.json │ │ ├── modelWithXmlAttributes.json │ │ ├── models.json │ │ ├── multipleModels.json │ │ └── properties │ │ │ ├── propertyWithBooleanArray.json │ │ │ ├── propertyWithByteArray.json │ │ │ ├── propertyWithComplexArray.json │ │ │ ├── propertyWithDateTimeArray.json │ │ │ ├── propertyWithInt32Array.json │ │ │ ├── propertyWithInt64Array.json │ │ │ ├── propertyWithRef.json │ │ │ ├── propertyWithStringArray.json │ │ │ ├── simpleBooleanProperty.json │ │ │ ├── simpleByteProperty.json │ │ │ ├── simpleDateTimeProperty.json │ │ │ ├── simpleInt32Property.json │ │ │ ├── simpleInt64Property.json │ │ │ └── simpleStringProperty.json │ ├── resources │ │ ├── cascadingSchemes.json │ │ ├── commonParameters.json │ │ ├── multipleMimeTypes.json │ │ ├── operations │ │ │ ├── operationWithTags.json │ │ │ ├── stringPathAndBoolQueryParamResource.json │ │ │ └── stringPathParamResource.json │ │ ├── parameters │ │ │ ├── bodyComplexArrayParameter.json │ │ │ ├── bodyComplexParameter.json │ │ │ ├── bodyInt64Parameter.json │ │ │ ├── bodyStringArrayParameter.json │ │ │ ├── bodyStringParameter.json │ │ │ ├── formDataComplexParameter.json │ │ │ ├── formDataInt64Parameter.json │ │ │ ├── formDataStringArrayParameter.json │ │ │ ├── formDataStringParameter.json │ │ │ ├── headerInt64ArrayParameter.json │ │ │ ├── headerStringArrayParameter.json │ │ │ ├── headerStringParameter.json │ │ │ ├── pathInt64Parameter.json │ │ │ ├── pathStringArrayParameter.json │ │ │ ├── pathStringParameter.json │ │ │ ├── queryInt64ArrayParameter.json │ │ │ ├── queryStringParameter.json │ │ │ └── queryWithComplexParameter.json │ │ ├── pathLoaderIssue.json │ │ ├── resourceWithExamplePayload.json │ │ ├── resourceWithLinkedDefinitions.json │ │ ├── resourceWithLinkedDefinitions_part1.json │ │ ├── resourceWithRelativeHost.json │ │ ├── reusableParameters.json │ │ ├── securityExample.json │ │ ├── stringPathParamResource.json │ │ ├── taggedResource.json │ │ └── vendorExtensionExamples.json │ └── responses │ │ ├── complexArrayResponse.json │ │ ├── dateTimeResponse.json │ │ ├── int32Response.json │ │ ├── int64Response.json │ │ ├── multipleResponses.json │ │ ├── stringArrayResponse.json │ │ ├── stringResponse.json │ │ ├── stringResponseWithHeader.json │ │ └── voidResponse.json └── yaml │ ├── .gitkeep │ ├── models │ ├── modelWithArrayRef.yaml │ ├── modelWithComposition.yaml │ ├── modelWithDateTimeMap.yaml │ ├── modelWithExamples.yaml │ ├── modelWithInt32Map.yaml │ ├── modelWithInt64Map.yaml │ ├── modelWithMultipleProperties.yaml │ ├── modelWithObjectMap.yaml │ ├── modelWithPrimitiveArray.yaml │ ├── modelWithStringProperty.yaml │ ├── modelWithXmlAttributes.yaml │ ├── models.yaml │ ├── multipleModels.yaml │ └── properties │ │ ├── propertyWithBooleanArray.yaml │ │ ├── propertyWithByteArray.yaml │ │ ├── propertyWithComplexArray.yaml │ │ ├── propertyWithDateTimeArray.yaml │ │ ├── propertyWithInt32Array.yaml │ │ ├── propertyWithInt64Array.yaml │ │ ├── propertyWithRef.yaml │ │ ├── propertyWithStringArray.yaml │ │ ├── simpleBooleanProperty.yaml │ │ ├── simpleByteProperty.yaml │ │ ├── simpleDateTimeProperty.yaml │ │ ├── simpleInt32Property.yaml │ │ ├── simpleInt64Property.yaml │ │ └── simpleStringProperty.yaml │ ├── resources │ ├── cascadingSchemes.yaml │ ├── commonParameters.yaml │ ├── multipleMimeTypes.yaml │ ├── operations │ │ ├── operationWithTags.yaml │ │ ├── stringPathAndBoolQueryParamResource.yaml │ │ └── stringPathParamResource.yaml │ ├── parameters │ │ ├── bodyComplexArrayParameter.yaml │ │ ├── bodyComplexParameter.yaml │ │ ├── bodyInt64Parameter.yaml │ │ ├── bodyStringArrayParameter.yaml │ │ ├── bodyStringParameter.yaml │ │ ├── formDataComplexParameter.yaml │ │ ├── formDataInt64Parameter.yaml │ │ ├── formDataStringArrayParameter.yaml │ │ ├── formDataStringParameter.yaml │ │ ├── headerInt64ArrayParameter.yaml │ │ ├── headerStringArrayParameter.yaml │ │ ├── headerStringParameter.yaml │ │ ├── pathInt64Parameter.yaml │ │ ├── pathStringArrayParameter.yaml │ │ ├── pathStringParameter.yaml │ │ ├── queryInt64ArrayParameter.yaml │ │ ├── queryStringParameter.yaml │ │ └── queryWithComplexParameter.yaml │ ├── resourceWithExamplePayload.yaml │ ├── resourceWithLinkedDefinitions.yaml │ ├── resourceWithLinkedDefinitions_part1.yaml │ ├── resourceWithRelativeHost.yaml │ ├── reusableParameters.yaml │ ├── securityExample.yaml │ ├── stringPathParamResource.yaml │ ├── taggedResource.yaml │ └── vendorExtensionExamples.yaml │ ├── responses │ ├── complexArrayResponse.yaml │ ├── dateTimeResponse.yaml │ ├── int32Response.yaml │ ├── int64Response.yaml │ ├── multipleResponses.yaml │ ├── stringArrayResponse.yaml │ ├── stringResponse.yaml │ ├── stringResponseWithHeader.yaml │ └── voidResponse.yaml │ ├── swagger │ ├── 1 │ │ └── 2 │ │ │ └── 3 │ │ │ └── 4 │ │ │ └── swagger.yaml │ ├── shared │ │ ├── definitions │ │ │ └── page.yaml │ │ └── something.yaml │ ├── spec.yml │ └── test3-ter-model-schema.json │ └── yaml │ ├── .gitkeep │ ├── models │ ├── modelWithArrayRef.yaml │ ├── modelWithComposition.yaml │ ├── modelWithDateTimeMap.yaml │ ├── modelWithExamples.yaml │ ├── modelWithInt32Map.yaml │ ├── modelWithInt64Map.yaml │ ├── modelWithMultipleProperties.yaml │ ├── modelWithObjectMap.yaml │ ├── modelWithPrimitiveArray.yaml │ ├── modelWithStringProperty.yaml │ ├── modelWithXmlAttributes.yaml │ ├── models.yaml │ ├── multipleModels.yaml │ └── properties │ │ ├── propertyWithBooleanArray.yaml │ │ ├── propertyWithByteArray.yaml │ │ ├── propertyWithComplexArray.yaml │ │ ├── propertyWithDateTimeArray.yaml │ │ ├── propertyWithInt32Array.yaml │ │ ├── propertyWithInt64Array.yaml │ │ ├── propertyWithRef.yaml │ │ ├── propertyWithStringArray.yaml │ │ ├── simpleBooleanProperty.yaml │ │ ├── simpleByteProperty.yaml │ │ ├── simpleDateTimeProperty.yaml │ │ ├── simpleInt32Property.yaml │ │ ├── simpleInt64Property.yaml │ │ └── simpleStringProperty.yaml │ ├── resources │ ├── cascadingSchemes.yaml │ ├── commonParameters.yaml │ ├── multipleMimeTypes.yaml │ ├── operations │ │ ├── operationWithTags.yaml │ │ ├── stringPathAndBoolQueryParamResource.yaml │ │ └── stringPathParamResource.yaml │ ├── parameters │ │ ├── bodyComplexArrayParameter.yaml │ │ ├── bodyComplexParameter.yaml │ │ ├── bodyInt64Parameter.yaml │ │ ├── bodyStringArrayParameter.yaml │ │ ├── bodyStringParameter.yaml │ │ ├── formDataComplexParameter.yaml │ │ ├── formDataInt64Parameter.yaml │ │ ├── formDataStringArrayParameter.yaml │ │ ├── formDataStringParameter.yaml │ │ ├── headerInt64ArrayParameter.yaml │ │ ├── headerStringArrayParameter.yaml │ │ ├── headerStringParameter.yaml │ │ ├── pathInt64Parameter.yaml │ │ ├── pathStringArrayParameter.yaml │ │ ├── pathStringParameter.yaml │ │ ├── queryInt64ArrayParameter.yaml │ │ ├── queryStringParameter.yaml │ │ └── queryWithComplexParameter.yaml │ ├── resourceWithExamplePayload.yaml │ ├── resourceWithLinkedDefinitions.yaml │ ├── resourceWithLinkedDefinitions_part1.yaml │ ├── resourceWithRelativeHost.yaml │ ├── reusableParameters.yaml │ ├── securityExample.yaml │ ├── stringPathParamResource.yaml │ ├── taggedResource.yaml │ └── vendorExtensionExamples.yaml │ └── responses │ ├── complexArrayResponse.yaml │ ├── dateTimeResponse.yaml │ ├── int32Response.yaml │ ├── int64Response.yaml │ ├── multipleResponses.yaml │ ├── stringArrayResponse.yaml │ ├── stringResponse.yaml │ ├── stringResponseWithHeader.yaml │ └── voidResponse.yaml ├── fmts ├── fixture_test.go ├── yaml.go └── yaml_test.go ├── go.mod ├── go.sum ├── json_test.go ├── loaders.go ├── loaders_test.go ├── options.go ├── options_test.go ├── spec.go └── spec_test.go /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/dependabot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.github/dependabot.yaml -------------------------------------------------------------------------------- /.github/workflows/auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.github/workflows/auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/go-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.github/workflows/go-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/README.md -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/doc.go -------------------------------------------------------------------------------- /doc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/doc_test.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/errors.go -------------------------------------------------------------------------------- /examples_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/examples_test.go -------------------------------------------------------------------------------- /fixtures/bugs/145/Program Files (x86)/AppName/ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/bugs/145/Program Files (x86)/AppName/ref.json -------------------------------------------------------------------------------- /fixtures/bugs/145/Program Files (x86)/AppName/todos-expanded.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/bugs/145/Program Files (x86)/AppName/todos-expanded.json -------------------------------------------------------------------------------- /fixtures/bugs/145/Program Files (x86)/AppName/todos.common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/bugs/145/Program Files (x86)/AppName/todos.common.json -------------------------------------------------------------------------------- /fixtures/bugs/145/Program Files (x86)/AppName/todos.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/bugs/145/Program Files (x86)/AppName/todos.json -------------------------------------------------------------------------------- /fixtures/bugs/1816/fixture-1816.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/bugs/1816/fixture-1816.yaml -------------------------------------------------------------------------------- /fixtures/json/models/modelWithArrayRef.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithArrayRef.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithComposition.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithComposition.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithDateTimeMap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithDateTimeMap.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithExamples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithExamples.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithInt32Map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithInt32Map.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithInt64Map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithInt64Map.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithMultipleProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithMultipleProperties.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithObjectMap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithObjectMap.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithPrimitiveArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithPrimitiveArray.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithStringProperty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithStringProperty.json -------------------------------------------------------------------------------- /fixtures/json/models/modelWithXmlAttributes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/modelWithXmlAttributes.json -------------------------------------------------------------------------------- /fixtures/json/models/models.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/models.json -------------------------------------------------------------------------------- /fixtures/json/models/multipleModels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/multipleModels.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithBooleanArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithBooleanArray.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithByteArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithByteArray.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithComplexArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithComplexArray.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithDateTimeArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithDateTimeArray.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithInt32Array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithInt32Array.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithInt64Array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithInt64Array.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithRef.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithRef.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/propertyWithStringArray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/propertyWithStringArray.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleBooleanProperty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/simpleBooleanProperty.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleByteProperty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/simpleByteProperty.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleDateTimeProperty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/simpleDateTimeProperty.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleInt32Property.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/simpleInt32Property.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleInt64Property.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/models/properties/simpleInt64Property.json -------------------------------------------------------------------------------- /fixtures/json/models/properties/simpleStringProperty.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "string" 3 | } 4 | -------------------------------------------------------------------------------- /fixtures/json/resources/cascadingSchemes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/cascadingSchemes.json -------------------------------------------------------------------------------- /fixtures/json/resources/commonParameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/commonParameters.json -------------------------------------------------------------------------------- /fixtures/json/resources/multipleMimeTypes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/multipleMimeTypes.json -------------------------------------------------------------------------------- /fixtures/json/resources/operations/operationWithTags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/operations/operationWithTags.json -------------------------------------------------------------------------------- /fixtures/json/resources/operations/stringPathAndBoolQueryParamResource.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/operations/stringPathAndBoolQueryParamResource.json -------------------------------------------------------------------------------- /fixtures/json/resources/operations/stringPathParamResource.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/operations/stringPathParamResource.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/bodyComplexArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/bodyComplexArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/bodyComplexParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/bodyComplexParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/bodyInt64Parameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/bodyInt64Parameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/bodyStringArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/bodyStringArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/bodyStringParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/bodyStringParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/formDataComplexParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/formDataComplexParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/formDataInt64Parameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/formDataInt64Parameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/formDataStringArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/formDataStringArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/formDataStringParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/formDataStringParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/headerInt64ArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/headerInt64ArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/headerStringArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/headerStringArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/headerStringParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/headerStringParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/pathInt64Parameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/pathInt64Parameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/pathStringArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/pathStringArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/pathStringParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/pathStringParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/queryInt64ArrayParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/queryInt64ArrayParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/queryStringParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/queryStringParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/parameters/queryWithComplexParameter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/parameters/queryWithComplexParameter.json -------------------------------------------------------------------------------- /fixtures/json/resources/pathLoaderIssue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/pathLoaderIssue.json -------------------------------------------------------------------------------- /fixtures/json/resources/resourceWithExamplePayload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/resourceWithExamplePayload.json -------------------------------------------------------------------------------- /fixtures/json/resources/resourceWithLinkedDefinitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/resourceWithLinkedDefinitions.json -------------------------------------------------------------------------------- /fixtures/json/resources/resourceWithLinkedDefinitions_part1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/resourceWithLinkedDefinitions_part1.json -------------------------------------------------------------------------------- /fixtures/json/resources/resourceWithRelativeHost.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/resourceWithRelativeHost.json -------------------------------------------------------------------------------- /fixtures/json/resources/reusableParameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/reusableParameters.json -------------------------------------------------------------------------------- /fixtures/json/resources/securityExample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/securityExample.json -------------------------------------------------------------------------------- /fixtures/json/resources/stringPathParamResource.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/stringPathParamResource.json -------------------------------------------------------------------------------- /fixtures/json/resources/taggedResource.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/taggedResource.json -------------------------------------------------------------------------------- /fixtures/json/resources/vendorExtensionExamples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/resources/vendorExtensionExamples.json -------------------------------------------------------------------------------- /fixtures/json/responses/complexArrayResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/complexArrayResponse.json -------------------------------------------------------------------------------- /fixtures/json/responses/dateTimeResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/dateTimeResponse.json -------------------------------------------------------------------------------- /fixtures/json/responses/int32Response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/int32Response.json -------------------------------------------------------------------------------- /fixtures/json/responses/int64Response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/int64Response.json -------------------------------------------------------------------------------- /fixtures/json/responses/multipleResponses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/multipleResponses.json -------------------------------------------------------------------------------- /fixtures/json/responses/stringArrayResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/stringArrayResponse.json -------------------------------------------------------------------------------- /fixtures/json/responses/stringResponse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/stringResponse.json -------------------------------------------------------------------------------- /fixtures/json/responses/stringResponseWithHeader.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/json/responses/stringResponseWithHeader.json -------------------------------------------------------------------------------- /fixtures/json/responses/voidResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "object created" 3 | } -------------------------------------------------------------------------------- /fixtures/yaml/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithArrayRef.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithArrayRef.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithComposition.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithComposition.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithDateTimeMap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithDateTimeMap.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithExamples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithExamples.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithInt32Map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithInt32Map.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithInt64Map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithInt64Map.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithMultipleProperties.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithMultipleProperties.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithObjectMap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithObjectMap.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithPrimitiveArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithPrimitiveArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithStringProperty.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | properties: 3 | name: {type: string} 4 | -------------------------------------------------------------------------------- /fixtures/yaml/models/modelWithXmlAttributes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/modelWithXmlAttributes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/models.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/multipleModels.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/multipleModels.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithBooleanArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithBooleanArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithByteArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithByteArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithComplexArray.yaml: -------------------------------------------------------------------------------- 1 | type: array 2 | items: 3 | $ref: ComplexType 4 | -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithDateTimeArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithDateTimeArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithInt32Array.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithInt32Array.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithInt64Array.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithInt64Array.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithRef.yaml: -------------------------------------------------------------------------------- 1 | $ref: Foo 2 | description: 'a boolean' 3 | readOnly: true 4 | -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/propertyWithStringArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/propertyWithStringArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleBooleanProperty.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/simpleBooleanProperty.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleByteProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | format: byte 3 | -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleDateTimeProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | format: date-time 3 | -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleInt32Property.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/simpleInt32Property.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleInt64Property.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/models/properties/simpleInt64Property.yaml -------------------------------------------------------------------------------- /fixtures/yaml/models/properties/simpleStringProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | -------------------------------------------------------------------------------- /fixtures/yaml/resources/cascadingSchemes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/cascadingSchemes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/commonParameters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/commonParameters.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/multipleMimeTypes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/multipleMimeTypes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/operations/operationWithTags.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/operations/operationWithTags.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/operations/stringPathParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/operations/stringPathParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/bodyComplexArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/bodyComplexArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/bodyComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/bodyComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/bodyInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/bodyInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/bodyStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/bodyStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/bodyStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/bodyStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/formDataComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/formDataComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/formDataInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/formDataInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/formDataStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/formDataStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/formDataStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/formDataStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/headerInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/headerInt64ArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/headerStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/headerStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/headerStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/headerStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/pathInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/pathInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/pathStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/pathStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/pathStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/pathStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/queryInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/queryInt64ArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/queryStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/queryStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/parameters/queryWithComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/parameters/queryWithComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/resourceWithExamplePayload.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/resourceWithExamplePayload.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/resourceWithLinkedDefinitions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/resourceWithLinkedDefinitions.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/resourceWithLinkedDefinitions_part1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/resourceWithLinkedDefinitions_part1.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/resourceWithRelativeHost.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/resourceWithRelativeHost.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/reusableParameters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/reusableParameters.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/securityExample.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/securityExample.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/stringPathParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/stringPathParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/taggedResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/taggedResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/resources/vendorExtensionExamples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/resources/vendorExtensionExamples.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/complexArrayResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/complexArrayResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/dateTimeResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/dateTimeResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/int32Response.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/int32Response.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/int64Response.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/int64Response.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/multipleResponses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/multipleResponses.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/stringArrayResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/stringArrayResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/stringResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/stringResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/stringResponseWithHeader.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/responses/stringResponseWithHeader.yaml -------------------------------------------------------------------------------- /fixtures/yaml/responses/voidResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'object created' 2 | -------------------------------------------------------------------------------- /fixtures/yaml/swagger/1/2/3/4/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/swagger/1/2/3/4/swagger.yaml -------------------------------------------------------------------------------- /fixtures/yaml/swagger/shared/definitions/page.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/swagger/shared/definitions/page.yaml -------------------------------------------------------------------------------- /fixtures/yaml/swagger/shared/something.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/swagger/shared/something.yaml -------------------------------------------------------------------------------- /fixtures/yaml/swagger/spec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/swagger/spec.yml -------------------------------------------------------------------------------- /fixtures/yaml/swagger/test3-ter-model-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/swagger/test3-ter-model-schema.json -------------------------------------------------------------------------------- /fixtures/yaml/yaml/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithArrayRef.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithArrayRef.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithComposition.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithComposition.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithDateTimeMap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithDateTimeMap.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithExamples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithExamples.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithInt32Map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithInt32Map.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithInt64Map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithInt64Map.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithMultipleProperties.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithMultipleProperties.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithObjectMap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithObjectMap.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithPrimitiveArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithPrimitiveArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithStringProperty.yaml: -------------------------------------------------------------------------------- 1 | description: 'true' 2 | properties: 3 | name: {type: string} 4 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/modelWithXmlAttributes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/modelWithXmlAttributes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/models.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/multipleModels.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/multipleModels.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithBooleanArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithBooleanArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithByteArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithByteArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithComplexArray.yaml: -------------------------------------------------------------------------------- 1 | type: array 2 | items: 3 | $ref: ComplexType 4 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithDateTimeArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithInt32Array.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithInt32Array.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithInt64Array.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithInt64Array.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithRef.yaml: -------------------------------------------------------------------------------- 1 | $ref: Foo 2 | description: 'a boolean' 3 | readOnly: true 4 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/propertyWithStringArray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/propertyWithStringArray.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleBooleanProperty.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/simpleBooleanProperty.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleByteProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | format: byte 3 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleDateTimeProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | format: date-time 3 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleInt32Property.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/simpleInt32Property.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleInt64Property.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/models/properties/simpleInt64Property.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/models/properties/simpleStringProperty.yaml: -------------------------------------------------------------------------------- 1 | type: string 2 | -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/cascadingSchemes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/cascadingSchemes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/commonParameters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/commonParameters.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/multipleMimeTypes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/multipleMimeTypes.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/operations/operationWithTags.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/operations/operationWithTags.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/operations/stringPathAndBoolQueryParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/operations/stringPathParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/operations/stringPathParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/bodyComplexArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/bodyComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/bodyComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/bodyInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/bodyStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/bodyStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/bodyStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/formDataComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/formDataComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/formDataInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/formDataStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/formDataStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/formDataStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/headerInt64ArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/headerStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/headerStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/headerStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/pathInt64Parameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/pathInt64Parameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/pathStringArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/pathStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/pathStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/queryInt64ArrayParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/queryStringParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/queryStringParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/parameters/queryWithComplexParameter.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/resourceWithExamplePayload.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/resourceWithExamplePayload.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/resourceWithLinkedDefinitions_part1.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/resourceWithRelativeHost.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/resourceWithRelativeHost.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/reusableParameters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/reusableParameters.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/securityExample.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/securityExample.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/stringPathParamResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/stringPathParamResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/taggedResource.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/taggedResource.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/resources/vendorExtensionExamples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/resources/vendorExtensionExamples.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/complexArrayResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/complexArrayResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/dateTimeResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/dateTimeResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/int32Response.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/int32Response.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/int64Response.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/int64Response.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/multipleResponses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/multipleResponses.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/stringArrayResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/stringArrayResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/stringResponse.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/stringResponse.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/stringResponseWithHeader.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fixtures/yaml/yaml/responses/stringResponseWithHeader.yaml -------------------------------------------------------------------------------- /fixtures/yaml/yaml/responses/voidResponse.yaml: -------------------------------------------------------------------------------- 1 | description: 'object created' 2 | -------------------------------------------------------------------------------- /fmts/fixture_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fmts/fixture_test.go -------------------------------------------------------------------------------- /fmts/yaml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fmts/yaml.go -------------------------------------------------------------------------------- /fmts/yaml_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/fmts/yaml_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/go.sum -------------------------------------------------------------------------------- /json_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/json_test.go -------------------------------------------------------------------------------- /loaders.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/loaders.go -------------------------------------------------------------------------------- /loaders_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/loaders_test.go -------------------------------------------------------------------------------- /options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/options.go -------------------------------------------------------------------------------- /options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/options_test.go -------------------------------------------------------------------------------- /spec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/spec.go -------------------------------------------------------------------------------- /spec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-openapi/loads/HEAD/spec_test.go --------------------------------------------------------------------------------