Skip to content

Fix ProviderService swagger definition

cyberta requested to merge fix_serviceProvider2 into main

some adjustments so that our java swagger code generator can handle the swagger definition correctly.

Specifically it would handle integer as int instead of Long if some fields are not explicitely annotated with format: "int64". Also it didn't like *ProviderService very well, so instead I've moved the corresponding struct definition directly into the Provider struct, similar how it was done for type EIPServiceV3 struct.

The most important diff in this MR can be found in pkg/models/resources.go

Edited by cyberta

Merge request reports

Loading