awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
swagger-api avatar

swagger-api/swagger-core

0
View on GitHub↗
7,528 estrellas·2,255 forks·Java·Apache-2.0·4 vistasswagger.io↗

Swagger Core

swagger-core is a set of libraries for parsing, generating, and serializing OpenAPI specifications to automate REST API documentation. It provides tools to read, validate, and transform JSON or YAML specifications into programmable objects, as well as a generator that scans source code and annotations to create formal technical descriptions of an API.

The project enables bi-directional specification serialization, allowing in-memory API definitions to be converted between native language objects and structured files. It uses a plugin-based scanning mechanism and annotation-driven generation to map application resources to specification operations, with support for intercepting the pipeline to modify or filter the resulting output.

The library covers a broad range of API modeling capabilities, including the definition of request parameters, response schemas, security schemes, and data model constraints. It also manages specification processing through reference resolution, schema conversion, and validation against formal specification rules.

Automation utilities are available to resolve and generate specification files during the build process.

Features

  • Annotation-Driven Specification Generation - Automatically constructs technical API definitions by scanning source code for metadata annotations.
  • Specification from Code Generators - Produces OpenAPI/Swagger specification documents by scanning annotated source code.
  • API Documentation Tools - Provides a complete system for modeling API parameters, response schemas, and server metadata to automate REST documentation.
  • JSON Schema Modeling - Provides structured data modeling for request and response validation using schemas.
  • API Resource Scanning - Identifies endpoints to include in the specification by analyzing application instances or annotations.
  • OpenAPI Specification Generators - Scans source code and annotations to automatically generate structured OpenAPI JSON or YAML specification files.
  • OpenAPI Specification Parsers - Parses OpenAPI JSON and YAML definitions into internal representations for processing and analysis.
  • OpenAPI Specification Serializers - Converts in-memory API object representations back into valid JSON or YAML specification documents.
  • OpenAPI Schema Generators - Generates OpenAPI specification documents by scanning resource classes or converting models into schemas.
  • Operation Descriptions - Maps methods to operations using summaries and detailed descriptions to explain API functionality.
  • Class-to-Schema Conversion - Transforms application data classes into formal OpenAPI schemas by analyzing their types and constraints.
  • Object Mapping APIs - Maps formal API specifications to a programmable set of objects for transformation and manipulation.
  • OpenAPI Specification Management - Provides comprehensive tools for creating, validating, and transforming OpenAPI JSON or YAML files to maintain standard web service contracts.
  • OpenAPI Specification Validators - Validates OpenAPI documents against formal specification rules to identify structural inconsistencies.
  • OpenAPI Response Definitions - Implements mechanisms for defining API response schemas and status codes for every operation.
  • API Metadata - Provides systems for defining API endpoints and schemas using annotations to include metadata not inferable from code.
  • Input Parameter Specifications - Provides declarative definitions of path, query, and header variables that API endpoints accept.
  • Media Type Definitions - Defines the content and media formats for parameters, request bodies, and responses.
  • Request Body Documentation - Provides specification of the structure and requirements for incoming API request payloads.
  • REST API Specifications - Allows the definition of request payloads, response schemas, and security requirements within the API specification.
  • Automated Generation - Automatically generates OpenAPI specifications from application code to provide technical references for API consumers.
  • API Specification Tooling Integration - Produces standardized specification files that enable third-party tools to generate client libraries and interactive API explorers.
  • Build-Time Specification Exports - Generates static API specification files during the build process using specialized plugins.
  • API Contract Synchronization - Automates the synchronization of technical API documentation with live code changes to maintain contract consistency.
  • Specification Exposure - Serves the technical specification as a file via dedicated resources for client consumption.
  • Structured Documentation Generation - Creates structured documentation for endpoints and authentication based on a formal specification.
  • Plugin-Based Scanning Frameworks - Uses a plugin-based scanning mechanism to identify application endpoints and map them to operations.
  • Security Scheme Documentation - Defines security mechanisms and documents authentication requirements for specific API operations within the specification.
  • API Reference Resolution - Bundles internal and external references within a document to consolidate all content.
  • Bi-Directional Specification Serialization - Enables seamless conversion of API definitions between native language objects and JSON/YAML files.
  • Named Schema References - Resolves internal and external references within the specification to bundle related data models.
  • Specification Generation Interceptors - The library executes custom logic before or after the scanning process to pre process or post process the specification.
  • Specification Pipeline Interception - Provides hooks to modify or filter the generated API specification before it is finalized.
  • Global API Metadata - Allows setting global properties including titles, versions, and contact information for the technical specification.

Historial de estrellas

Gráfico del historial de estrellas de swagger-api/swagger-coreGráfico del historial de estrellas de swagger-api/swagger-core

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Colecciones destacadas con Swagger Core

Colecciones seleccionadas manualmente donde aparece Swagger Core.
  • APIs

Alternativas open-source a Swagger Core

Proyectos open-source similares, clasificados según cuántas características comparten con Swagger Core.
  • domaindrivendev/swashbuckle.aspnetcoreAvatar de domaindrivendev

    domaindrivendev/Swashbuckle.AspNetCore

    5,492Ver en GitHub↗

    Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata from source code and models to produce standardized OpenAPI specifications and interactive browser interfaces for exploring and testing web APIs. The project integrates a middleware component to serve these specifications and a Swagger UI for interactive API testing directly from a running application. It also provides a command-line exporter to extract specification files from application assemblies for use in CI/CD pipelines. The tool covers a wide range of capabilities in

    C#
    Ver en GitHub↗5,492
  • juhaku/utoipaAvatar de juhaku

    juhaku/utoipa

    3,682Ver en GitHub↗

    utoipa is a Rust API documentation tool used to generate machine-readable OpenAPI specifications. It functions as a specification generator and schema mapper that converts Rust structs and enums into compliant OpenAPI schemas. The project distinguishes itself by using procedural macros and traits to automate metadata extraction from code. It supports complex data modeling, including generics, polymorphism, and recursive type resolution, while synchronizing field renaming and tagging from serialization attributes. It also enables the composition of modular specifications, allowing multiple sma

    Rustauto-generatedcompile-timedocumentation
    Ver en GitHub↗3,682
  • ricosuter/nswagAvatar de RicoSuter

    RicoSuter/NSwag

    7,342Ver en GitHub↗

    NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera

    C#angularaspnetaspnetcore
    Ver en GitHub↗7,342
  • zircote/swagger-phpAvatar de zircote

    zircote/swagger-php

    5,298Ver en GitHub↗

    swagger-php is an OpenAPI specification generator and PHP API documentation library. It scans PHP source code attributes and annotations to produce standardized specification files and interactive API references. The tool functions as a schema inference engine that derives data types and schemas from native PHP type hints and generic blocks. It uses reflection-based static analysis to extract metadata without executing application logic and supports recursive schema inheritance to merge definitions from parent classes and interfaces. The project includes a command-line utility for exporting

    PHP
    Ver en GitHub↗5,298
Ver las 30 alternativas a Swagger Core→

Preguntas frecuentes

¿Qué hace swagger-api/swagger-core?

swagger-core is a set of libraries for parsing, generating, and serializing OpenAPI specifications to automate REST API documentation. It provides tools to read, validate, and transform JSON or YAML specifications into programmable objects, as well as a generator that scans source code and annotations to create formal technical descriptions of an API.

¿Cuáles son las características principales de swagger-api/swagger-core?

Las características principales de swagger-api/swagger-core son: Annotation-Driven Specification Generation, Specification from Code Generators, API Documentation Tools, JSON Schema Modeling, API Resource Scanning, OpenAPI Specification Generators, OpenAPI Specification Parsers, OpenAPI Specification Serializers.

¿Qué alternativas de código abierto existen para swagger-api/swagger-core?

Las alternativas de código abierto para swagger-api/swagger-core incluyen: domaindrivendev/swashbuckle.aspnetcore — Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata… juhaku/utoipa — utoipa is a Rust API documentation tool used to generate machine-readable OpenAPI specifications. It functions as a… ricosuter/nswag — NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and… zircote/swagger-php — swagger-php is an OpenAPI specification generator and PHP API documentation library. It scans PHP source code… springdoc/springdoc-openapi — springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable… microsoft/typespec — TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from…