镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

The FeatherOpenAPI library makes it easy to define OpenAPI specifications using Swift in a type-safe way.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

Feather OpenAPI

The FeatherOpenAPI library makes it easy to define OpenAPI specifications using Swift in a type-safe way.

Release: 1.0.0-rc.1

Features

  • Type-safe interface for building OpenAPI documents
  • Automatic identifier generation and resolution
  • DocC-based API Documentation
  • Unit tests and code coverage

Requirements

Swift 6.3+ Platforms: Linux, macOS, iOS, tvOS, watchOS, visionOS

  • Swift 6.3+

  • Platforms:

    • Linux
    • macOS 15+
    • iOS 18+
    • tvOS 18+
    • watchOS 11+
    • visionOS 2+

Installation

Use Swift Package Manager; add the dependency to your Package.swift file:

.package(url: "https://github.com/feather-framework/feather-openapi", exact: "1.0.0-rc.1"),

Then add FeatherOpenAPI to your target dependencies:

.product(name: "FeatherOpenAPI", package: "feather-openapi"),

Usage

DocC API documentation

API documentation is available at the following link.

Warning

This repository is a work in progress, things can break until it reaches v1.0.0.

Development

  • Build: swift build
  • Test:
    • local: swift test
    • using Docker: make docker-test
  • Format: make format
  • Check: make check

Contributing

Pull requests are welcome. Please keep changes focused and include tests for new logic.

About

The FeatherOpenAPI library makes it easy to define OpenAPI specifications using Swift in a type-safe way.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages