Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/.

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
```