diff --git a/API.md b/API.md index e8210c4..4cfc483 100644 --- a/API.md +++ b/API.md @@ -1,4 +1,4 @@ -# cpp-oasvalidator v1.1.0: API Reference +# cpp-oasvalidator v1.1.1: API Reference `cpp-oasvalidator` offers a comprehensive API for validating HTTP requests in accordance with OpenAPI specifications. It encompasses various validation categories including *Path, Body, Parameters, and Response*. The API functions return a `ValidationError` type and accept a reference to a `std::string` for populating error messages in case of validation failure. A successful validation returns `ValidationError::NONE`. Otherwise, an error code is returned and the error message is populated. The error message follows this JSON schema: diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ca2a4d..557fda4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # Version and other settings set(OASVALIDATOR_VERSION_MAJOR "1") set(OASVALIDATOR_VERSION_MINOR "1") -set(OASVALIDATOR_VERSION_PATCH "0") +set(OASVALIDATOR_VERSION_PATCH "1") set(OASVALIDATOR_VERSION_STRING "${OASVALIDATOR_VERSION_MAJOR}.${OASVALIDATOR_VERSION_MINOR}.${OASVALIDATOR_VERSION_PATCH}") set(OASVALIDATOR_SUMMARY "C++ library") set(OASVALIDATOR_REPOSITORY_URL "https://github.com/nawaz1991/cpp-oasvalidator") diff --git a/README.md b/README.md index f336d54..66e6a12 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ cpp-oasvalidator: REST Request Validator ![Win build](https://img.shields.io/github/actions/workflow/status/nawaz1991/cpp-oasvalidator/windows-build.yml?logo=windows&label=Tests) [![codecov](https://codecov.io/gh/nawaz1991/cpp-oasvalidator/branch/main/graph/badge.svg?token=96b475c2-8dc1-4693-8ce3-84a572720d43)](https://codecov.io/gh/nawaz1991/cpp-oasvalidator) [![License](https://img.shields.io/github/license/nawaz1991/cpp-oasvalidator.svg)](./LICENSE) -[![API Docs](https://img.shields.io/badge/API%20Docs-v1.1.0-brightgreen)](API.md) +[![API Docs](https://img.shields.io/badge/API%20Docs-v1.1.1-brightgreen)](API.md) [![Benchmark](https://img.shields.io/badge/Benchmark-brightgreen)](https://nawaz1991.github.io/cpp-oasvalidator/benchmark.html)