In my model definition I have a property called "public" as part of an object. When running the swagger code-gen, it generates the code for my object, but it adds an underscore to the "public" property. So my object looks as follows:
export interface ObjectInfo {
_public?: boolean;
}
I'd like the property to just be called "public", as follows:
export interface ObjectInfo {
public?: boolean;
}
Angular does not have an issue with you doing:
public public: boolean;
So not sure why OpenAPI feels the need to add the underscore. Is there anyway to avoid this?