Address comments part 2

* OpenAPI Mock spec path adjusted
* Dropbox FileMetadata reflection refactored
* NaturalNumber type added
This commit is contained in:
MaxJa4
2023-08-23 19:25:52 +02:00
parent c304b4f52b
commit 5147753a79
5 changed files with 34 additions and 38 deletions

View File

@@ -5,9 +5,11 @@ services:
image: muonsoft/openapi-mock
environment:
OPENAPI_MOCK_USE_EXAMPLES: if_present
OPENAPI_MOCK_SPECIFICATION_URL: https://raw.githubusercontent.com/offen/docker-volume-backup/2ea59a649be79d6cb22b8b5ad29e24377d4ab9d4/test/dropbox/user_v2.yaml
OPENAPI_MOCK_SPECIFICATION_URL: '/etc/openapi/user_v2.yaml'
ports:
- 8080:8080
volumes:
- ./user_v2.yaml:/etc/openapi/user_v2.yaml
backup:
image: offen/docker-volume-backup:${TEST_VERSION:-canary}