# OpenAPI-Delphi
**Repository Path**: gavinw2020/OpenAPI-Delphi
## Basic Information
- **Project Name**: OpenAPI-Delphi
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-02-19
- **Last Updated**: 2025-02-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# OpenAPI for Delphi - OpenAPI 3.0 for Delphi
## What is OpenAPI-Delphi
**OpenAPI-Delphi** is an OpenAPI 3.0 library for [Delphi](https://www.embarcadero.com/products/delphi) that helps you to generate (and load) OpenAPI 3.0 documentation (in JSON) starting from plain Delphi classes. Delphi-OpenAPI uses the [Neon](https://github.com/paolo-rossi/delphi-neon) serialization library to transform the OpenAPI models from Delphi classes to JSON and to load a OpenAPI document into a Delphi (OpenAPI) object. Please take a look at the Demo to see OpenAPI-Delphi in action.
## General Features
- OpenAPI document generation (JSON) from a Delphi (OpenAPI) object
- OpenAPI loading and parsing into a Delphi (OpenAPI) object (:star2: new in 2.0)
- Use plain Delphi classes to set the OpenAPI specification sections & fields
- Support for JSON Schema (the OpenAPI version)
- Support for Schema field recursion (:star2: new in 2.0)
- Full Support for enum of any type (:star2: new in 2.0)
- Use 1-line code (using the [Neon](https://github.com/paolo-rossi/delphi-neon) library) to transform from and to JSON documents
## Delphi Compatibility
This library has been tested with **Delphi 12 Athens**, **Delphi 11 Alexandria**, **Delphi 10.4 Sydney**, **Delphi 10.3 Rio**, **Delphi 10.2 Tokyo**.
## Todo
- Full validation for the OpenAPI models