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
Add openApiSpec and odataSpec field for CSC and SC in ui-api-layer #2962
Add openApiSpec and odataSpec field for CSC and SC in ui-api-layer #2962
Conversation
b9c8084
to
0a0bf9b
Compare
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.
👌 Looks very good!
Please prepare a PR with temporary images where you will run integration tests.
@@ -1,5 +1,4 @@ | |||
// Code generated by mockery v1.0.0. DO NOT EDIT. |
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.
Please reset these formatting changes in mocks
type handler func(filename string) (interface{}, bool, error) | ||
const ( | ||
ApiSpecField = "apiSpec" | ||
OpenApiSpecField = "openApiSpec" |
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.
Rename OpenApi
to OpenAPI
everywhere
AsyncApiSpec(id string) (*AsyncApiSpec, bool, error) | ||
Content(id string) (*Content, bool, error) | ||
NotificationChannel(stop <-chan struct{}) <-chan notification | ||
} | ||
|
||
type handler func(filename string) (interface{}, bool, error) | ||
const ( | ||
ApiSpecField = "apiSpec" |
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.
Api
-> API
@@ -60,6 +64,70 @@ func (o *ApiSpec) UnmarshalJSON(jsonData []byte) error { | |||
return nil | |||
} | |||
|
|||
type OpenApiSpec struct { |
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.
Api
-> API
/retest |
Description
Changes proposed in this pull request:
openApiSpec
andodataSpec
field for CSC and SC in ui-api-layerdeprecated
label forapiSpec
field.Related Pr(s)
#2967
Related issue(s)
Resolves https://github.com/kyma-project/console/issues/561