{"id":29294673,"url":"https://github.com/delphi-blocks/wirl","last_synced_at":"2025-07-06T13:08:36.820Z","repository":{"id":2216481,"uuid":"45977231","full_name":"delphi-blocks/WiRL","owner":"delphi-blocks","description":"WiRL: RESTful Library for Delphi","archived":false,"fork":false,"pushed_at":"2025-06-02T20:08:50.000Z","size":7633,"stargazers_count":245,"open_issues_count":4,"forks_count":88,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-06-03T10:03:13.235Z","etag":null,"topics":["api","delphi","json","jwt","microservice","openapi","rest"],"latest_commit_sha":null,"homepage":"https://wirl.delphiblocks.dev/","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delphi-blocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-11-11T11:15:05.000Z","updated_at":"2025-06-02T20:08:53.000Z","dependencies_parsed_at":"2024-01-30T18:31:29.878Z","dependency_job_id":"7cedbf4a-9601-484f-bbad-1c3ccca3de44","html_url":"https://github.com/delphi-blocks/WiRL","commit_stats":{"total_commits":437,"total_committers":12,"mean_commits":"36.416666666666664","dds":"0.42105263157894735","last_synced_commit":"28b4b17ad90b5a29492435ee0e7d26f2c5dab156"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/delphi-blocks/WiRL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphi-blocks%2FWiRL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphi-blocks%2FWiRL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphi-blocks%2FWiRL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphi-blocks%2FWiRL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delphi-blocks","download_url":"https://codeload.github.com/delphi-blocks/WiRL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphi-blocks%2FWiRL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263905745,"owners_count":23527974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","delphi","json","jwt","microservice","openapi","rest"],"created_at":"2025-07-06T13:08:30.251Z","updated_at":"2025-07-06T13:08:36.813Z","avatar_url":"https://github.com/delphi-blocks.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WiRL: Delphi RESTful Library\n\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./media/logo.png\" alt=\"Delphi RESTful Library\" width=\"300\" /\u003e\n\u003c/p\u003e\n\n![Top language](https://img.shields.io/github/languages/top/delphi-blocks/WiRL)\n[![GitHub license](https://img.shields.io/github/license/delphi-blocks/WiRL)](https://github.com/delphi-blocks/WiRL/blob/master/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/delphi-blocks/WiRL)](https://github.com/delphi-blocks/WiRL/issues)\n[![GitHub PR](https://img.shields.io/github/issues-pr/delphi-blocks/WiRL)](https://github.comdelphi-blocks/WiRL/pulls)\n[![GitHub release](https://img.shields.io/github/release/delphi-blocks/WiRL)](https://github.com/delphi-blocks/WiRL/release)\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/delphi-blocks/WiRL)\n![GitHub last commit](https://img.shields.io/github/last-commit/delphi-blocks/WiRL)\n![GitHub contributors](https://img.shields.io/github/contributors-anon/delphi-blocks/WiRL)\n\n## Getting Started\n\nPlease follow the documentation at [wirl.delphiblocks.dev](https://wirl.delphiblocks.dev/)!\n\n## What is WiRL?\n\n**WiRL** was created to simplify RESTful service implementation in Delphi but, more importantly, to enable maximum interoperability with REST clients written in other languages and tools.\n\nWiRL takes after Java JAX-RS specifications and tries to be compliant with the 6 REST constraints.\n\nWiRL is a high-level REST framework exposing plain Delphi objects (PODO) as RESTful web resources by applying [attributes](http://docwiki.embarcadero.com/RADStudio/Seattle/en/Overview_of_Attributes) to these classes.\n\n```Delphi\n[Path('customers')]\nTCustomerResource = class\npublic\n  [GET]\n  [Produces('TMediaType.APPLICATION_JSON')]\n  function SelectCustomers: TCustomerList;\n\n  [POST]\n  [Consumes('TMediaType.APPLICATION_JSON')]\n  [Produces('TMediaType.APPLICATION_JSON')]\n  function InsertCustomer(ACustomer: TCustomer): TCustomer;\nend;\n```\nWiRL has a strong HTTP content negotiation and  defines attributes to bind specific URI patterns and HTTP operations to individual methods of your Delphi class. It has parameter injection attributes so that you can easily pull in information from the HTTP request. It has message body readers and writers that allow you to decouple data format marshalling and unmarshalling from your Delphi objects. It has exception mappers that can map an exception to an HTTP response code and message.\n\nWiRL uses 3 submodules:\n1. [Delphi JOSE and JWT Library](https://github.com/paolo-rossi/delphi-jose-jwt) for the JSON Web Token creation and validation\n2. [Neon - Serialization Library for Delphi](https://github.com/paolo-rossi/delphi-neon) to convert Delphi simple types, objects, records, arrays, etc... to the JSON format\n3. [OpenAPI 3 for Delphi](https://github.com/paolo-rossi/OpenAPI-Delphi) for the OpenAPI documentation generation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphi-blocks%2Fwirl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphi-blocks%2Fwirl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphi-blocks%2Fwirl/lists"}