-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support dynamic asyncapi specs as sql changes #169
base: develop
Are you sure you want to change the base?
Conversation
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
@ConfigurationProperties(prefix = "app.gen") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended to be api.gen
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you are saying whether we need a prefix
at all?
petstore_customers-stream-identity: | ||
address: "/petstore_customers-stream-identity" | ||
messages: | ||
PETSTORE_CUSTOMERSMessage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PETSTORE_CUSTOMERSMessage: | |
PetstoreCustomersMessage: |
Let's make the spec more readable, by converting PETSTORE_CUSTOMERS
to PetstoreCustomers
for example.
protocol: http | ||
channels: | ||
petstore_customers-stream-identity: | ||
address: "/petstore_customers-stream-identity" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to review the generated API paths for HTTP spec to make sure they are as natural as possible.
Description
Support dynamic asyncapi specs as sql changes.
Fixes #126