Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

swagger-api/swagger-core

Repository files navigation

Swagger Core

NOTE: If you're looking for Swagger Core 1.5.X and OpenAPI 2.0, please refer to 1.5 branch.

NOTE: Since version 2.1.7, Swagger Core also supports the Jakarta namespace. There are a parallel set of artifacts with the -jakarta suffix, providing the same functionality as the unsuffixed (i.e.: javax) artifacts. Please see the Wiki for more details.

NOTE: Since version 2.2.0 Swagger Core supports OpenAPI 3.1; see this page for details

Build Test Deploy Maven Central

Swagger Core is a Java implementation of the OpenAPI Specification. Current version supports JAX-RS2 (javax and jakarta namespaces).

Get started with Swagger Core!

See the guide on getting started with Swagger Core to get started with adding Swagger to your API.

See the Wiki!

The github wiki contains documentation, samples, contributions, etc. Start there.

Compatibility

The OpenAPI Specification has undergone several revisions since initial creation in 2010. The Swagger Core project has the following compatibilities with the OpenAPI Specification:

Swagger core Version Release Date OpenAPI Spec compatibility Notes Status
2.2.39 (current stable) 2025年10月13日 3.x tag v2.2.39 Supported
2.2.38 2025年09月29日 3.x tag v2.2.38 Supported
2.2.37 2025年09月16日 3.x tag v2.2.37 Supported
2.2.36 2025年08月18日 3.x tag v2.2.36 Supported
2.2.35 2025年07月31日 3.x tag v2.2.35 Supported
2.2.34 2025年06月20日 3.x tag v2.2.34 Supported
2.2.33 2025年06月12日 3.x tag v2.2.33 Supported
2.2.32 2025年05月14日 3.x tag v2.2.32 Supported
2.2.31 2025年05月13日 3.x tag v2.2.31 Supported
2.2.30 2025年04月07日 3.x tag v2.2.30 Supported
2.2.29 2025年03月10日 3.x tag v2.2.29 Supported
2.2.28 2025年01月16日 3.x tag v2.2.28 Supported
2.2.27 2024年12月11日 3.x tag v2.2.27 Supported
2.2.26 2024年11月18日 3.x tag v2.2.26 Supported
2.2.25 2024年10月02日 3.x tag v2.2.25 Supported
2.2.24 2024年09月23日 3.x tag v2.2.24 Supported
2.2.23 2024年08月28日 3.x tag v2.2.23 Supported
2.2.22 2024年05月15日 3.x tag v2.2.22 Supported
2.2.21 2024年03月20日 3.x tag v2.2.21 Supported
2.2.20 2023年12月19日 3.x tag v2.2.20 Supported
2.2.19 2023年11月10日 3.x tag v2.2.19 Supported
2.2.18 2023年10月25日 3.x tag v2.2.18 Supported
2.2.17 2023年10月12日 3.x tag v2.2.17 Supported
2.2.16 2023年09月18日 3.x tag v2.2.16 Supported
2.2.15 2023年07月08日 3.x tag v2.2.15 Supported
2.2.14 2023年06月26日 3.x tag v2.2.14 Supported
2.2.13 2023年06月24日 3.x tag v2.2.13 Supported
2.2.12 2023年06月13日 3.x tag v2.2.12 Supported
2.2.11 2023年06月01日 3.x tag v2.2.11 Supported
2.2.10 2023年05月15日 3.x tag v2.2.10 Supported
2.2.9 2023年03月20日 3.x tag v2.2.9 Supported
2.2.8 2023年01月06日 3.x tag v2.2.8 Supported
2.2.7 2022年11月15日 3.0 tag v2.2.7 Supported
2.2.6 2022年11月02日 3.0 tag v2.2.6 Supported
2.2.5 2022年11月02日 3.0 tag v2.2.5 Supported
2.2.4 2022年10月16日 3.0 tag v2.2.4 Supported
2.2.3 2022年09月27日 3.0 tag v2.2.3 Supported
2.2.2 2022年07月20日 3.0 tag v2.2.2 Supported
2.2.1 2022年06月15日 3.0 tag v2.2.1 Supported
2.2.0 2022年04月04日 3.0 tag v2.2.0 Supported
2.1.13 2022年02月07日 3.0 tag v2.1.13 Supported
2.1.12 2021年12月23日 3.0 tag v2.1.12 Supported
2.1.11 2021年09月29日 3.0 tag v2.1.11 Supported
2.1.10 2021年06月28日 3.0 tag v2.1.10 Supported
2.1.9 2021年04月20日 3.0 tag v2.1.9 Supported
2.1.8 2021年04月18日 3.0 tag v2.1.8 Supported
2.1.7 2021年02月18日 3.0 tag v2.1.7 Supported
2.1.6 2020年12月04日 3.0 tag v2.1.6 Supported
2.1.5 2020年10月01日 3.0 tag v2.1.5 Supported
2.1.4 2020年07月24日 3.0 tag v2.1.4 Supported
2.1.3 2020年06月27日 3.0 tag v2.1.3 Supported
2.1.2 2020年04月01日 3.0 tag v2.1.2 Supported
2.1.1 2020年01月02日 3.0 tag v2.1.1 Supported
2.1.0 2019年11月16日 3.0 tag v2.1.0 Supported
2.0.10 2019年10月11日 3.0 tag v2.0.10 Supported
2.0.9 2019年08月22日 3.0 tag v2.0.9 Supported
2.0.8 2019年04月24日 3.0 tag v2.0.8 Supported
2.0.7 2019年02月18日 3.0 tag v2.0.7 Supported
2.0.6 2018年11月27日 3.0 tag v2.0.6 Supported
2.0.5 2018年09月19日 3.0 tag v2.0.5 Supported
2.0.4 2018年09月05日 3.0 tag v2.0.4 Supported
2.0.3 2018年08月09日 3.0 tag v2.0.3 Supported
1.6.14 (current stable) 2024年03月19日 2.0 tag v1.6.14 Supported
1.6.13 2024年01月26日 2.0 tag v1.6.13 Supported
1.6.12 2023年10月14日 2.0 tag v1.6.12 Supported
1.6.11 2023年05月15日 2.0 tag v1.6.11 Supported
1.6.10 2023年03月21日 2.0 tag v1.6.10 Supported
1.6.9 2022年11月15日 2.0 tag v1.6.9 Supported
1.6.8 2022年10月16日 2.0 tag v1.6.8 Supported
1.6.7 2022年09月27日 2.0 tag v1.6.7 Supported
1.6.6 2022年04月04日 2.0 tag v1.6.6 Supported
1.6.5 2022年02月07日 2.0 tag v1.6.5 Supported
1.6.4 2021年12月23日 2.0 tag v1.6.4 Supported
1.6.3 2021年09月29日 2.0 tag v1.6.3 Supported
1.6.2 2020年07月01日 2.0 tag v1.6.2 Supported
1.6.1 2020年04月01日 2.0 tag v1.6.1 Supported
1.6.0 2019年11月16日 2.0 tag v1.6.0 Supported
1.5.24 2019年10月11日 2.0 tag v1.5.24 Supported
1.5.23 2019年08月22日 2.0 tag v1.5.23 Supported
1.5.22 2019年02月18日 2.0 tag v1.5.22 Supported
1.5.21 2018年08月09日 2.0 tag v1.5.21 Supported
1.5.20 2018年05月23日 2.0 tag v1.5.20 Supported
2.0.2 2018年05月23日 3.0 tag v2.0.2 Supported
2.0.1 2018年04月16日 3.0 tag v2.0.1 Supported
1.5.19 2018年04月16日 2.0 tag v1.5.19 Supported
2.0.0 2018年03月20日 3.0 tag v2.0.0 Supported
2.0.0-rc4 2018年01月22日 3.0 tag v2.0.0-rc4 Supported
2.0.0-rc3 2017年11月21日 3.0 tag v2.0.0-rc3 Supported
2.0.0-rc2 2017年09月29日 3.0 tag v2.0.0-rc2 Supported
2.0.0-rc1 2017年08月17日 3.0 tag v2.0.0-rc1 Supported
1.5.18 2018年01月22日 2.0 tag v1.5.18 Supported
1.5.17 2017年11月21日 2.0 tag v1.5.17 Supported
1.5.16 2017年07月15日 2.0 tag v1.5.16 Supported
1.3.12 2014年12月23日 1.2 tag v1.3.12 Supported
1.2.4 2013年06月19日 1.1 tag swagger-project_2.10.0-1.2.4 Deprecated
1.0.0 2011年10月16日 1.0 tag v1.0 Deprecated

Change History

If you're interested in the change history of swagger and the Swagger Core framework, see here.

Prerequisites

You need the following installed and available in your $PATH:

  • Java 11
  • Apache maven 3.0.4 or greater
  • Jackson 2.4.5 or greater

To build from source (currently 2.2.40-SNAPSHOT)

# first time building locally
mvn -N

Subsequent builds:

mvn install

This will build the modules.

Of course if you don't want to build locally you can grab artifacts from maven central:

https://repo1.maven.org/maven2/io/swagger/core/

Sample Apps

The samples have moved to a new repository and contain various integrations and configurations.

Security contact

Please disclose any security-related issues or vulnerabilities by emailing security@swagger.io, instead of using the public issue tracker.

About

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /