Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: api config #380

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: api config #380

wants to merge 3 commits into from

Conversation

kalinkrustev
Copy link
Contributor

@kalinkrustev kalinkrustev commented Jun 6, 2024

This allows configuring API specifications with implementation specifics. For example one can restrict the allowed currencies in the API by preparing a xxx.config.yaml file, containing:

components:
  schemas:
    Currency:
      enum:
        - KES

or configure alternative ID patterns with a file, containing:

components:
  parameters:
    ID:
      schema:
        pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

These config files can be mounted in the containers via this recent improvement to helm charts.

@kalinkrustev kalinkrustev changed the base branch from main to feat/fx-impl June 7, 2024 08:32
@kalinkrustev kalinkrustev changed the base branch from feat/fx-impl to main June 7, 2024 08:32
Copy link

sonarcloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@kalinkrustev kalinkrustev marked this pull request as draft June 10, 2024 11:31
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