GithubHelp home page GithubHelp logo

Comments (4)

cataggar avatar cataggar commented on September 26, 2024

Why is additionalProperties inside an allOf? Right now, additionalProperties usually just maps to a serde_json::Value. Azure/azure-sdk-for-rust#579

from azure-devops-rust-api.

cataggar avatar cataggar commented on September 26, 2024

A workaround would be to set it to a serde_json::Value in a autorust.toml using
https://github.com/Azure/azure-sdk-for-rust/blob/0f96ff42a6c8d335feddab6a23521b71fc383d11/services/autorust/codegen/src/autorust_toml.rs#L94-L96

from azure-devops-rust-api.

cataggar avatar cataggar commented on September 26, 2024

Two examples here:
https://github.com/Azure/azure-sdk-for-rust/search?l=TOML&q=invalid_type

from azure-devops-rust-api.

johnbatty avatar johnbatty commented on September 26, 2024

@cataggar Thanks very much for the suggestions. However, I ended up fixing via my spec patcher so that all my patching is in one place (plus there was some other tweaking of the structs I wanted to do).

from azure-devops-rust-api.

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.