Repository navigation
v0.13.0
What's New?
- Added support for External $ref, see: #93
Changelog
581c1dd Merge pull request #113 from dikhan/version/pump-0.13.0
d6c1a27 pumping version to 0.13.0
c89ab86 Merge pull request #110 from dikhan/feature/ref-first-level-expansion-support
ee057e9 removing as already documented in the official doc
b4f43c1 remove no longer needed TestGetPayloadDefName
1d494bf remove unreachable code
4b69616 use newSpecAnalyserV2 instead of stubbed specV2Analyser
8590252 this test is covered by the constructor
1c88ae0 wip: add expansion to initAPISpecAnalyser and fix tests
3768911 fix TestValidateRootPath test
82fced8 refactor getBodyParameterBodySchema() and add tests
5567820 Remove getResourcePayloadSchemaRef() as it's no longer needed
00962fb add test coverage for getBodyParameterBodySchema
5ef69a6 remove getResourcePayloadSchemaDef as it is no longer applicable
89969ad Merge branch 'feature/ref-first-level-expansion-support' of https://github.com/dikhan/terraform-provider-openapi into feature/ref-first-level-expansion-support
980e4f9 Remove unnecessary error check.
4802db9 Remove redundant nil check
e413fb1 Add back accidentally deleted integration tests
f48c6e4 update docs with info about external $ref
efca209 Add TODOs for missing tests
448ed21 clone specific goa version that has cors package
b5971dc go fmt
a8d9f5b extract out the sample json blob into createExternalSwaggerContent
4646045 update Test_getBodyParameterBodySchema unit test to assert on actual errors
edf8653 return specific errors when getBodyParameterBodySchema is not able to find the post schema
f3886c7 DRYing up a little test duplication
445ec7e Restore accidentally deleted integration tests
b3a4fa2 Remove spurious TODOs
08d35b7 Finish Test_getBodyParameterBodySchema
3ebc4d5 Introduce Test_getBodyParameterBodySchema
1d17422 fix tab issues
699e20a Add cases of bad URLs
ed84ccb add unit test covering file containing a schema ref that points to a non schema definition
022ff69 fix convey description to match the expected assertion
0c49488 add test coverage for a swagger file containing a schema ref that is empty
e38a227 add test coverage for ref to a definition is wrongly formatted (no empty string)
c3ed08b add test coverage for ref to a definition that does not exists
3e197be fix tab issue
c0a02ca openapi_v2_spec_analyzer_test: TestNewSpecAnalyserV2() with a bad remote ref
642667b openapi_v2_spec_analyzer_test: Test GetTerraformCompliantResources() with an externally hosted resource
d65ba4f Merge branch 'feature/ref-first-level-expansion-support' of https://github.com/dikhan/terraform-provider-openapi into feature/ref-first-level-expansion-support
b0923db circular ref to itself
834e313 openapi_v2_spec_analyzer_test: Fix the ref expansion over http
2401922 wip: add tests for external refs hosted with a http server
395b271 DRY up some duplication
bc41e60 Fix a compile issue.
244fe9a Introduce several new test cases
d5d3d54 Introduce go.mod, go.sum
2c8735e Improve spec label
f89b72c Prevent TestOpenAPIProvider from reaching out to a real domain.
225031e update Status definitions now that the schema is expanded
c8e93d4 add unit tests
4cee2bd expand schema
7879930 go fmt
3b944e9 move initAPISpecFile to test utils
8a1414d fix bug where just ReadOnly properties would not have been marked as computed
24dc2be move initAPISpecFile to test utils
d5a723f fix version of github.com/go-openapi/spec to v0.19.0