Informazioni dettagliate
Nome del software
Nome localizzato
Suite di applicazioni
URL del repository
Pagina di destinazione
Descrizione breve
Descrizione lunga
This example project demonstrates how to document the REST APIs of a microservice with the jEAP Swagger starter, which builds on springdoc-openapi and serves the generated OpenAPI documents in an interactive Swagger UI. It shows how to declare an OpenAPI definition, how to split the endpoints of a service into several API groups and API versions, how to describe endpoints and payloads with OpenAPI annotations, and how to try the documented endpoints out in the Swagger UI authenticated with OAuth 2.0. It also demonstrates the access modes the starter provides for the Swagger UI. The example consists of a microservice documenting its REST APIs (jme-swagger-service), an instance of the jEAP OAuth mock server providing the login for the Swagger UI (jme-swagger-auth-scs) and a module with reusable smoke checks for the Swagger endpoints and the integration tests of this example (jme-swagger-test).
FunzionalitÃ
- REST APIs documented with springdoc-openapi annotations and served in the Swagger UI
- Endpoints grouped into an internal and an external API and into API versions
- Swagger UI access modes OPEN, SECURED and DISABLED of the jEAP Swagger starter
- Interactive OAuth 2.0 login in the Swagger UI using the authorization code flow with PKCE
Stato di sviluppo
Tipo di software
Versione del software
Data di rilascio
Piattaforme
Categorie
Licenza
Manutenzione
internal
- Federal Office of Information Technology, Systems and Telecommunication FOITT Email
Localizzazione
No
en