springdoc-openapi

Library for OpenAPI 3 with spring-boot

A new way for AI to search for data
View on GitHub
3,742GitHub stars
5,845commits on main
610forks
v3.2.0latest release, 2026-10-24

Java 97.2%, Kotlin 1.6%, TypeScript 1%, Groovy 0.1% · created 2019-07-11 · last push 2026-10-24

What XERJ indexed

Snapshot

Whole repository

Only springdoc-openapi-starter-common/src/main/java/org/springdoc/api, springdoc-openapi-starter-common/src/main/java/org/springdoc/core/models, springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service, springdoc-openapi-starter-common/src/main/java/org/springdoc/core/versions, springdoc at commit 50830e5f87 (2026-10-23). main is 84 commits ahead.

Selected work

Badr NASS LAHSEN
@bnasslahsen

“Document the default API version only for the operations that serve it”. 28 files, 1,289 lines in springdoc-openapi-starter-webmvc-api, springdoc-openapi-starter-webflux-api, springdoc-openapi-starter-common.

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NOASSERTION, with credit

The author agreed by email on 2026-10-23. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

openapi3spring-bootspringdoc-openapiswagger-uiswagger-documentationopenapiopenapi-specificationswagger

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for springdoc/springdoc-openapi on 2026-10-31, but the LICENSE file at commit 50830e5f87 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

Badr NASS LAHSEN (@bnasslahsen) has 1 selected repository on the hub.

Using XERJ with springdoc-openapi

The prompt

Paste it into your AI agent. It clones springdoc/springdoc-openapi at the pinned commit and indexes it on your machine.

Search the GitHub repository springdoc/springdoc-openapi with XERJ (https://hub.xerj.org/corpus/springdoc--springdoc-openapi).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/springdoc/springdoc-openapi springdoc-openapi && git -C springdoc-openapi checkout 50830e5f874b9d5333f91b0525bb6b555f3fc587
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./springdoc-openapi --url http://127.0.0.1:9200 --prefix springdoc-openapi --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.