From ea4e451943a98c0f4be6068334a0a0a83e895ac5 Mon Sep 17 00:00:00 2001 From: Martin Boer Date: Fri, 18 Oct 2024 11:31:48 +0200 Subject: [PATCH] :ok_hand: port changes from the api-specification --- README.md | 4 ++-- docker/build/Dockerfile | 2 +- mp/help | 2 +- src/myparcelcom.css | 10 ++++------ 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e9e53e8..06d48b2 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # MyParcel.com carrier API specification [![Packagist](https://img.shields.io/packagist/v/myparcelcom/carrier-specification.svg)](https://packagist.org/packages/myparcelcom/carrier-specification) -[![OpenAPI Specification](https://img.shields.io/badge/OpenAPI-3.1-brightgreen.svg)](https://github.com/OAI/OpenAPI-Specification) +[![OpenAPI Specification](https://img.shields.io/badge/OpenAPI-3.1.0-brightgreen.svg)](https://github.com/OAI/OpenAPI-Specification) -Description of the API specification used by MyParcel.com located at [https://carrier-specification.myparcel.com](https://carrier-specification.myparcel.com). This specification adheres to the [OpenApi 3.1 specification](https://github.com/OAI/OpenAPI-Specification) and implements the [JSON API specification](https://jsonapi.org). +The microservice API specification used by MyParcel.com located at [https://carrier-specification.myparcel.com](https://carrier-specification.myparcel.com). This specification adheres to the [OpenApi 3.1.0 specification](https://github.com/OAI/OpenAPI-Specification) and implements the [JSON API specification](https://jsonapi.org). ## Content - [Installation](#installation) diff --git a/docker/build/Dockerfile b/docker/build/Dockerfile index f238e17..5dde485 100644 --- a/docker/build/Dockerfile +++ b/docker/build/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22 as build +FROM node:22 AS build COPY . /build WORKDIR /build diff --git a/mp/help b/mp/help index 2c64e58..1c9448d 100755 --- a/mp/help +++ b/mp/help @@ -3,5 +3,5 @@ echo -e "\033[0;30;47m Available commands \033[0m" ls -p ${ROOT_DIR}/mp | grep -v '/' -echo -e "\033[0;30;47m Available docker-compose commands \033[0m" +echo -e "\033[0;30;47m Available docker compose commands \033[0m" echo "https://docs.docker.com/compose/reference" diff --git a/src/myparcelcom.css b/src/myparcelcom.css index 4bf6201..326f711 100644 --- a/src/myparcelcom.css +++ b/src/myparcelcom.css @@ -7,15 +7,13 @@ img[alt=logo] { width: 200px; } -/* Less visual emphasis on authorizations */ -#redoc div > div > span > span:after { - color: rgb(8, 12, 12); - font-weight: normal; - text-transform: lowercase; +/* More visual emphasis on authorizations */ +#redoc div > div > span > span > i { + color: rgb(14, 124, 134); } /* Less visual emphasis on length limitations */ -#redoc div > div > span > span { +#redoc table div > div > span > span { background: initial; border: initial; font-family: inherit;