This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming you are in project root directory | |
# For linux | |
docker run -d -p 8080:8080 -v $(pwd)/tests/wiremock/mappings:/wiremock/mappings ekino/wiremock:2.7.1 | |
# For mac | |
docker run -d -p 8080:8080 -v $PWD/tests/wiremock/mappings:/wiremock/mappings ekino/wiremock:2.7.1 | |
# For Windows | |
docker run -d -p 8080:8080 -v %cd%/tests/wiremock/mappings:/wiremock/mappings ekino/wiremock:2.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"request": { | |
"method": "GET", | |
"url": "/book/not-existing" | |
}, | |
"response": { | |
"status": 404, | |
"jsonBody": { | |
"code": 4040, | |
"message": "Requested resource does not exist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"request": { | |
"method": "GET", | |
"url": "/books/123" | |
}, | |
"response": { | |
"status": 200, | |
"jsonBody": { | |
"title": "Sample book title", | |
"author": "Sample Author" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Time track API | |
version: 0.1.0 | |
servers: | |
- url: http://localhost/v1 | |
description: Local development | |
paths: | |
/books/{id}: | |
get: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SAMPLE_DATA_KEY=TEST_VALUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: 1.0.0 | |
title: My Service API | |
description: '#### Returns some information' | |
schemes: | |
- http | |
host: myhost.net | |
basePath: / | |
paths: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiPackage" : "MyNamespace\\SDK\\Client\\Api", | |
"modelPackage" : "MyNamespace\\SDK\\Client\\Model", | |
"invokerPackage" : "MyNamespace\\SDK\\Client", | |
"packagePath" : "MyClient-sdk-php", | |
"gitUserId" : "mycompany", | |
"gitRepoId" : "myclient-sdk-php", | |
"variableNamingConvention" : "camelCase" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.html\ShellNew] | |
"NullFile"="" | |
[HKEY_CLASSES_ROOT\phpscript] | |
@="PHP Script" | |
"FriendlyTypeName"=hex(2):40,00,3d,00,22,00,50,00,48,00,50,00,20,00,53,00,63,\ | |
00,72,00,69,00,70,00,74,00,22,00,00,00 |
NewerOlder