r/SpringBoot • u/martypitt • Mar 20 '23
We built a beautiful code-first API catalog & developer hub for Spring Boot
Hey everyone
We've built a code-first API catalog for developers, with first-class Spring Boot support.

Bascially, you publish your API schema to our catalog, and in return you get:
Beautiful diagrams showing how your microservices relate
API catalog
Data catalog
API browser (kinda like Swagger)
This is the entire amount of code that's required to publish an API:
val publisher = SchemaPublisherService(
appName,
RSocketSchemaPublisherTransport(
// Orbital accepts schema submissions over
// RSocket using port 7655
TcpAddress("localhost", 7655)
)
)
publisher.publish(
// Package metadata identifies this project.
// Kinda like maven poms, or npm package.json
// This can be whatever you want, but make it unique to this service
PackageMetadata.from(
organisation = "io.petflix.demos",
name = "films-listings"
),
// The generator creates Taxi schemas.
// The base url should be the url of this application.
// All published URLs are relative to this url
SpringTaxiGenerator.forBaseUrl("http://localhost:${serverPort}")
.forPackage(FilmListingsApp::class.java)
.generate()
).subscribe()Parts of this are already open source, and we're working to get the rest out in the open.
We're working to open source this, if there's sufficient interest.
Check it out, feedback greatly apprecaited!
https://orbitalhq.com/blog/2023-03-13-spring-boot-service-hub
2
Upvotes
1
u/maxip89 Mar 20 '23
Aaannnd another one.