GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - springdoc/springdoc-openapi: Library for OpenAPI 3 with spring-boot

BranchesTags
Open more actions menu

Latest commit

 

History

5,910 Commits
5,910 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn/wrapper
.mvn/wrapper
 
 
springdoc-openapi-bom
springdoc-openapi-bom
 
 
springdoc-openapi-starter-common-mcp
springdoc-openapi-starter-common-mcp
 
 
springdoc-openapi-starter-common
springdoc-openapi-starter-common
 
 
springdoc-openapi-starter-webflux-api
springdoc-openapi-starter-webflux-api
 
 
springdoc-openapi-starter-webflux-mcp
springdoc-openapi-starter-webflux-mcp
 
 
springdoc-openapi-starter-webflux-scalar
springdoc-openapi-starter-webflux-scalar
 
 
springdoc-openapi-starter-webflux-ui
springdoc-openapi-starter-webflux-ui
 
 
springdoc-openapi-starter-webmvc-api
springdoc-openapi-starter-webmvc-api
 
 
springdoc-openapi-starter-webmvc-mcp
springdoc-openapi-starter-webmvc-mcp
 
 
springdoc-openapi-starter-webmvc-scalar
springdoc-openapi-starter-webmvc-scalar
 
 
springdoc-openapi-starter-webmvc-ui
springdoc-openapi-starter-webmvc-ui
 
 
springdoc-openapi-tests
springdoc-openapi-tests
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.adoc
CONTRIBUTING.adoc
 
 
COPYRIGHT
COPYRIGHT
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

springdoc-openapi

๐Ÿ“˜ OpenAPI 3 documentation, Swagger UI and Scalar for Spring Boot, generated from your code

Build Maven Central License GitHub stars Stack Overflow

Spring Boot 4 Java 17+ OpenAPI 3.0 and 3.1 Swagger UI Scalar

๐Ÿ“– Documentation ยท ๐Ÿš€ Getting started ยท โš™๏ธ Properties ยท ๐ŸŽฎ Demos ยท โ“ FAQ ยท ๐Ÿ“ Changelog

๐Ÿ’– Sponsored by

Mercedes-Benz    dmTECH    Contrast Security    LVM Versicherung    GDNext

Sponsor on GitHub Support on Open Collective

If you โค๏ธ springdoc-openapi, become a sponsor: it covers the project expenses and helps it grow.


springdoc-openapi examines your Spring Boot application at runtime, its controllers, configuration, validation constraints and annotations, and serves an OpenAPI 3 description in JSON and YAML, together with an interactive Swagger UI or Scalar page. Add one dependency: there is nothing to configure. โœจ

Swagger UI generated by springdoc-openapi

๐Ÿš€ Getting started

For a Spring Boot 4 web application (Java 17+):

<dependency>
  <groupId>org.springdoc</groupId>
  <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  <version>3.2.0</version>
</dependency>

Then open ๐Ÿ‘‰ http://localhost:8080/swagger-ui.html. The OpenAPI description is served at /v3/api-docs (and /v3/api-docs.yaml).

Using WebFlux, Scalar, or only the API description? Pick another starter in the getting started guide.

๐Ÿงญ Compatibility

Spring Boot springdoc-openapi Documentation
๐Ÿƒ 4.x 3.x (this branch) springdoc.org
๐Ÿƒ 3.x 2.x (spring-boot-3 branch) springdoc.org/v2
๐Ÿ‚ 2.x and 1.x 1.8.0 (end of open-source support) springdoc.org/v1

โœจ Modules and features

  • ๐ŸŒ Spring Web MVC and Spring WebFlux, including functional endpoints
  • ๐Ÿ–ฅ๏ธ Swagger UI and Scalar user interfaces
  • ๐Ÿค– MCP support, to expose your API as tools for AI agents
  • ๐Ÿ” Spring Security and OAuth 2
  • ๐Ÿงฉ Spring Data REST, Spring HATEOAS, Actuator and Spring Cloud Function
  • ๐Ÿงช Kotlin, Groovy and Javadoc support
  • โœ… Bean Validation (@NotNull, @Min, @Max, @Size) and โšก GraalVM native images
  • ๐Ÿ› ๏ธ API information and security schemes, controller selection and hundreds of properties
  • ๐Ÿ“ฆ Maven and Gradle plugins to generate the description at build time

๐ŸŽฎ Demos

Try the live demos, for Web MVC, WebFlux, Scalar, Spring Cloud and MCP. Their source code is in springdoc-openapi-demos.

๐Ÿ’ฌ Getting help

  • ๐Ÿ“– Read the documentation, the FAQ, and the other resources (tutorials and articles)
  • ๐Ÿ”€ Migrating? See from SpringFox or from springdoc-openapi v1
  • ๐Ÿ™‹ Ask questions on Stack Overflow with the springdoc tag
  • ๐Ÿ› Report bugs in GitHub issues, with a minimal reproducer
  • ๐Ÿ”’ Report vulnerabilities privately, following the security policy

Note

springdoc-openapi is a community project, not maintained by the Spring team.

๐Ÿค Contributing

Contributions are welcome! See CONTRIBUTING.adoc and the Code of Conduct.

Thanks to all our contributors ๐Ÿ™

Contributors

Special thanks to the Spring team and JetBrains for their support.

JetBrains logo

๐Ÿ“„ License

springdoc-openapi is Open Source software released under the Apache 2.0 license.

About

Library for OpenAPI 3 with spring-boot

springdoc.org

Topics

javajson-formatkotlinoauth2openapiopenapi-specopenapi-specificationopenapi3rest-apispringspring-bootspring-data-restspring-hateoasspring-securityspring-webfluxspringdoc-openapiswaggerswagger-documentationswagger-uiyaml-format

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

3.7k stars

Watchers

43 watching

Forks

615 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.