Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shopiqo/bigbuy-oas
OpenAPI specification for https://api.bigbuy.eu/.
https://github.com/shopiqo/bigbuy-oas
api oas openapi openapi3 rest-api swagger swagger-ui
Last synced: about 1 month ago
JSON representation
OpenAPI specification for https://api.bigbuy.eu/.
- Host: GitHub
- URL: https://github.com/shopiqo/bigbuy-oas
- Owner: shopiqo
- Created: 2021-02-13T11:44:15.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T10:49:24.000Z (almost 3 years ago)
- Last Synced: 2024-10-29T03:32:36.066Z (2 months ago)
- Topics: api, oas, openapi, openapi3, rest-api, swagger, swagger-ui
- Language: Shell
- Homepage:
- Size: 202 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BigBuy API specifications
### Generate/rebuild specifications
```
./bin/build
```### Swagger UI
```
docker run \
--rm \
-p 8080:8080 \
-v `pwd`:/usr/share/nginx/html/public \
-e API_URL=public/dist/v1/openapi.yaml \
-e VALIDATOR_URL=none \
-e TRY_IT_OUT_ENABLED=true \
-e DISPLAY_REQUEST_DURATION=true \
-e DISPLAY_OPERATION_ID=true \
swaggerapi/swagger-ui
```### Generate API client
```
docker run --rm -v $PWD:/app openapitools/openapi-generator-cli \
generate \
-i /app/dist/v1/openapi.yaml \
-g php \
-o /app/clients/v1/php \
--skip-validate-spec \
--git-user-id efsa-io \
--git-repo-id bigbuy-php-api-client \
--additional-properties packageName=BigbuyApi
```