Fix ProviderService swagger definition
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