message: schema: add documentation for `cw_serde`
diff: @@ -10,6 +10,30 @@ pub use query_response::QueryResponses;
  pub use remove::remove_schemas;
  // Re-exports
  +/// An attribute macro that annotates types with things they need to be properly (de)serialized
  +/// for use in CosmWasm contract messages and/or responses, and also for schema generation.
  +///
  +/// This derives things like `serde::Serialize` or `schemars::JsonSchema`, makes sure
  +/// variants are `snake_case` in the resulting JSON, and so forth.
  +///
  +/// # Example
  +/// ```
  +/// use cosmwasm_schema::{cw_serde, QueryResponses};
  +///
  +/// #[cw_serde]
  +/// pub struct InstantiateMsg {
  +/// owner: String,
  +/// }
  +///
  +/// #[cw_serde]
  +/// #[derive(QueryResponses)]
  +/// pub enum QueryMsg {
  +/// #[returns(Vec<String>)]
  +/// Denoms {},
  +/// #[returns(String)]
  +/// AccountName { account: String },
  +/// }
  +/// ```
  pub use cosmwasm_schema_derive::cw_serde;
  /// Generates an [`Api`](crate::Api) for the contract. The body describes the message
  /// types exported in the schema and allows setting contract name and version overrides.
  @@ -21,13 +45,12 @@ pub use cosmwasm_schema_derive::cw_serde;
  ///
  /// # Example
  /// ```
  -/// use cosmwasm_schema::{generate_api};
  -/// use schemars::{JsonSchema};
  +/// use cosmwasm_schema::{cw_serde, generate_api};
  ///
  -/// #[derive(JsonSchema)]
  +/// #[cw_serde]
  /// struct InstantiateMsg;
  ///
  -/// #[derive(JsonSchema)]
  +/// #[cw_serde]
  /// struct MigrateMsg;
  ///
  /// let api = generate_api! {
  @@ -53,13 +76,12 @@ pub use cosmwasm_schema_derive::generate_api;
  ///
  /// # Example
  /// ```
  -/// use cosmwasm_schema::{write_api};
  -/// use schemars::{JsonSchema};
  +/// use cosmwasm_schema::{cw_serde, write_api};
  ///
  -/// #[derive(JsonSchema)]
  +/// #[cw_serde]
  /// struct InstantiateMsg;
  ///
  -/// #[derive(JsonSchema)]
  +/// #[cw_serde]
  /// struct MigrateMsg;
  ///
  /// write_api! {
  