Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Follow Controller → Service → Repository architecture.
Use @RestController, @Service, and @Repository appropriately.
Use constructor injection.
Use DTOs for request and response objects.
Validate requests using @Valid and Bean Validation.
Follow RESTful API conventions.
Keep business logic inside services.
Never expose JPA entities directly through APIs.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/souravchatterjee1990-vscode-github-copilot-spring-boot-i-f1e80f/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.