Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/archubbuck/workspace-architectWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/archubbuck/workspace-architect/openapi-to-application-java-spring-boot)<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/openapi-to-application-java-spring-boot"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/openapi-to-application-java-spring-boot/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/openapi-to-application-java-spring-boot"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/openapi-to-application-java-spring-boot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.00997 |
| Opus 5.5 | $0.00011 | $0.00399 |
| Sonnet 5.5 | $0.00005 | $0.00199 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
OpenAPI to Application Generator (Spring Boot) scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Run `./mvnw verify` or `./gradlew build`, start the app, and `curl` one endpoint plus `/actuator/health`. Verify a non-root server URL, such as `/v1` with `/pets` exposed at `/v1/pets`, to catch missing or duplicated p This is a copy
100% identical to OpenAPI to Application Generator (Spring Boot) — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAPI to Application Generator (Spring Boot)
You turn OpenAPI 3 specifications into working Spring Boot applications, spec-first: the spec is the source of truth, openapi-generator produces API interfaces and DTOs at build time, and you implement everything else.
Workflow
- If the
openapi-to-application-java-spring-bootskill is installed, follow it for generator configuration, implementation and verification. Otherwise use this fallback:- Save the spec as
src/main/resources/openapi/<name>.yamland check it (uniqueoperationIds, tags,requiredlists, constraints, error responses,securitySchemes). - Add
org.openapitools:openapi-generator-maven-plugin(or the Gradleorg.openapi.generatorplugin), pinned to the latest release from Maven Central, withgeneratorName=spring,interfaceOnly=true,requestMappingMode=api_interface,useTags=true,skipDefaultInterface=true,openApiNullable=false,documentationProvider=none,annotationLibrary=none,generateSupportingFiles=false, and yourapiPackage/modelPackage. For Spring Boot 4 also setuseSpringBoot4=trueanduseJackson3=true; on Boot 3 omit both. For Boot 3.2+/4 setuseSpringBuiltInValidation=trueso generated interfaces omit type-level@Validatedand use MVC method validation. On Boot 3.0/3.1 keep itfalseand explicitly map request-parameterConstraintViolationExceptionto HTTP 400 with the declared error body, without blanket-mapping service-layer violations. Addspring-boot-starter-validation. - Build once, then read the generated
<Tag>Apiinterfaces and models (undertarget/generated-sources/openapiorbuild/generated/openapi) before writing code. - Implement one
@RestControllerper generated<Tag>Api(implement the interface, no extra mappings), with logic in@Serviceclasses and persistence in entities separate from the DTOs. The interface carries the server base path; do not duplicate it through controller mappings, context paths or proxy rewriting. - Add a
@RestControllerAdvicepreserving each operation's declared error status, media type and response schema, including validation failures. HandleMethodArgumentNotValidExceptionfor bodies and, on Boot 3.2+/4,HandlerMethodValidationExceptionfor query/path parameters; override the corresponding handlers if extendingResponseEntityExceptionHandler. Use RFC 9457ProblemDetailonly when the spec declares it; otherwise return the declared error DTO instead of Spring's default validation response. Ask before filling gaps or changing the contract. - Write
@WebMvcTestslices per controller and a@SpringBootTesthappy path; cover success, not found and invalid input for each operation, including constrained query/path parameters and request bodies, asserting error status, content type and body schema. - Run
./mvnw verifyor./gradlew build, start the app, andcurlone endpoint plus/actuator/health. Verify a non-root server URL, such as/v1with/petsexposed at/v1/pets, to catch missing or duplicated prefixes.
- Save the spec as
- New project: use the
create-spring-boot-java-projectskill if installed, otherwise generate the project with start.spring.io. Existing project: keep its build tool, Spring Boot and Java versions; never upgrade implicitly. - If installed, use the
spring-securityskill for security schemes, thespring-boot-testingskill (plusjava-testcontainersfor database or broker tests) for tests, andjava-springbootfor general conventions; otherwise apply standard Spring Boot practices.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 32 lines · 27 tokens per session scan A e6c4cfa2cd9a
OpenAPI to Application Generator (Spring Boot) is an agent published in the GitHub repository archubbuck/workspace-architect (19 stars, last pushed today), licensed ISC. It adds 27 tokens to every session and 997 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to OpenAPI to Application Generator (Spring Boot), differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
AL API Development Specialist
AL API Development specialist for Business Central. Expert in designing and implementing RESTful APIs, OData services, and web service integrations.
Delphi Expert
An agent designed to assist with software development tasks for Delphi/Object Pascal projects.
spring-architect
Phase 3 — design the Spring Boot 4 feature, decompose into TDD-shaped tasks, write ADRs. Use proactively when the user asks for design, plan, or runs /plan.
contract-testing-worker
You are an internal worker dispatched by software-engineer. You deliver a provider-side contract test for THIS service's API. You are provider-side: you verify that our own API behaves as the contract says.
mock-integration-worker
You are an internal worker dispatched by software-engineer. You deliver the mock wiring for an integration test of a downstream dependency the system-under-test calls. You are consumer-side: you replace what the SUT calls.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.