#!/bin/bash -e set -e # Check variables correctness if [ -z "${IMPLEMENTATION_NAME}" ]; then echo "Missing parameter: IMPLEMENTATION_NAME" exit 1 fi if [ -z "${API_TYPE}" ]; then echo "Missing parameter: API_TYPE" exit 1 fi cd "./generated-${API_TYPE}/target/apidocs" find . -name '*.html' -exec sed -i -r 's/<\/title>/<\/title>\n