Skip to content

Conversation

@DurgaPrasad-54
Copy link
Contributor

Swagger/OpenAPI Documentation Automation and Configuration:

  • Added a new GitHub Actions workflow (.github/workflows/swagger-json.yml) that builds the API, runs it in a special Swagger profile, fetches the generated Swagger JSON, and automatically creates a pull request to update the Swagger docs in the AMRIT-Docs repository.
  • Introduced a dedicated application-swagger.properties file to configure environment-specific server URLs, H2 in-memory database, and other settings for the Swagger documentation profile.
  • Enhanced the SwaggerConfig class to read server URLs from environment variables or properties, and to include multiple server environments (Dev, UAT, Demo) in the generated OpenAPI spec.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant