Code Monkey home page Code Monkey logo

Comments (3)

baywet avatar baywet commented on June 18, 2024

Hi @NikolayLS
Thanks for using kiota and for reaching out.
Can you generate again, passing --ll information and upload the full kiota log here please?

from kiota.

NikolayLS avatar NikolayLS commented on June 18, 2024

@baywet Thanks for the prompt response!

Here is the full kiota log:

./kiota generate -l typescript -d vi_json_openapi_specification_v8_0_2_0.yaml -c ApiClient -o ./client --ll information
info: Kiota.Builder.KiotaBu./kiota generate -l typescript -d vi_json_openapi_specification_v8_0_2_0.yaml -c ApiClient -o ./client --ll information
info: Kiota.Builder.KiotaBuilder[0]
      loaded description from local source
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/paths/~1SessionManager~1{moId}~1AcquireCloneTicket/post/responses/200/content/application~1json/schema - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangeNFSUserPasswordRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangePasswordRequestType/properties/oldPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangePasswordRequestType/properties/newPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CloneSessionRequestType/properties/cloneTicket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ConfigureDatastorePrincipalRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/JoinDomainRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/LoginRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/QueryConnectionInfoRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SetNFSUserRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/UploadClientCertRequestType/properties/privateKey - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostServiceTicket/properties/sessionId - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/PasswordField/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ServiceLocatorNamePassword/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ServiceLocatorSAMLCredential/properties/token - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SessionManagerGenericServiceTicket/properties/id - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VirtualMachineMksTicket/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VirtualMachineTicket/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CryptoKeyPlain/properties/keyData - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/KmipServerSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostActiveDirectorySpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostConnectSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostConnectSpec/properties/vimAccountPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostInternetScsiHbaAuthenticationProperties/properties/chapSecret - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostInternetScsiHbaAuthenticationProperties/properties/mutualChapSecret - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostIpmiInfo/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostAccountSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostNasVolumeSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostPatchManagerPatchManagerOperationSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostSecuritySpec/properties/adminPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VAppPropertyInfo/properties/defaultValue - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VAppPropertyInfo/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CustomizationPassword/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/NamePasswordAuthentication/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SAMLTokenAuthentication/properties/token - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/TicketedSessionAuthentication/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
crit: Kiota.Builder.KiotaBuilder[0]
      error generating the client: the current dom node already contains a child with name HostScsiTopologyInterface and of type CodeClassilder[0]
      loaded description from local source
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/paths/~1SessionManager~1{moId}~1AcquireCloneTicket/post/responses/200/content/application~1json/schema - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangeNFSUserPasswordRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangePasswordRequestType/properties/oldPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ChangePasswordRequestType/properties/newPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CloneSessionRequestType/properties/cloneTicket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ConfigureDatastorePrincipalRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/JoinDomainRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/LoginRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/QueryConnectionInfoRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SetNFSUserRequestType/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/UploadClientCertRequestType/properties/privateKey - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostServiceTicket/properties/sessionId - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/PasswordField/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ServiceLocatorNamePassword/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/ServiceLocatorSAMLCredential/properties/token - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SessionManagerGenericServiceTicket/properties/id - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VirtualMachineMksTicket/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VirtualMachineTicket/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CryptoKeyPlain/properties/keyData - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/KmipServerSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostActiveDirectorySpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostConnectSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostConnectSpec/properties/vimAccountPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostInternetScsiHbaAuthenticationProperties/properties/chapSecret - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostInternetScsiHbaAuthenticationProperties/properties/mutualChapSecret - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostIpmiInfo/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostAccountSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostNasVolumeSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostPatchManagerPatchManagerOperationSpec/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/HostSecuritySpec/properties/adminPassword - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VAppPropertyInfo/properties/defaultValue - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/VAppPropertyInfo/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/CustomizationPassword/properties/value - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/NamePasswordAuthentication/properties/password - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/SAMLTokenAuthentication/properties/token - The format password is not supported by Kiota for the type string and the string type will be used.
warn: Kiota.Builder.KiotaBuilder[0]
      OpenAPI warning: #/components/schemas/TicketedSessionAuthentication/properties/ticket - The format password is not supported by Kiota for the type string and the string type will be used.
crit: Kiota.Builder.KiotaBuilder[0]
      error generating the client: the current dom node already contains a child with name HostScsiTopologyInterface and of type CodeClass


from kiota.

andrueastman avatar andrueastman commented on June 18, 2024

The issue here is caused byt the openApi description contains the type HostScsiTopology and HostScsiTopologyInterface. When the refiner is creating the interface for HostScsiTopology by appending the Interface suffix, there is a collision in the names between interface to be created and the existing model HostScsiTopologyInterface.

Solution here is to have the refiner check the new interface name exists in the namespace and try to disambiguate further before trying to add it in the refiner.

var temporaryInterfaceName = interfaceNamingCallback.Invoke(modelClass);

@NikolayLS Any chance this is something you'd be willing to submit a PR for?

from kiota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.