openapi-connected-service icon indicating copy to clipboard operation
openapi-connected-service copied to clipboard

Package Settings Integration + ServiceName Validation

Open labcubedev opened this issue 6 years ago • 3 comments

  • Added Package Settings
  • Extended ServiceName validation

labcubedev avatar Mar 18 '19 16:03 labcubedev

@labcubedev could you please clarify why did this change? I mean how does it improves the code? TIA!

dmitry-pavlov avatar Mar 22 '19 18:03 dmitry-pavlov

@dmitry-pavlov Sorry, I was unavailable the past two weeks.

I have added two package settings to the project: ServiceName and ServiceUri These store the last used name and URI of the service that the user entered within the ServiceEndpointWizardPage.

Additionally, the ServiceName input will now be validated as a namespace so that the code generator doesn't generate an invalid namespace.

labcubedev avatar Apr 05 '19 09:04 labcubedev

Additional question @labcubedev : do I get it right that these package settings remembering the last values entered by the user? Will it be per client, or per extension? I mean what if we have 2 (or more) API clients in the same project: so the user provides name API1 for the first and then API2 for the second. What will (s)he will see on ServiceEndpointWizardPage?

dmitry-pavlov avatar Jun 06 '19 10:06 dmitry-pavlov