autorest Agent Skills & AI Rules

GitHub

OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python

4,801 stars TypeSpec 1 file ยท ~7,519 tokens #azure#code-generator#csharp#golang#java#javascript#node#openapi
RAW Rules
68 Discovered Rules โ€ข ~156,787 Estimated Tokens
Loading skill content...

X-ms-code-generation-settings Skill

docs/extensions/swagger-extensions-examples/x-ms-code-generation-settings/x-ms-code-generation-settings.yaml anthropic-skill ~221 tokens
Raw
---
swagger: "2.0"
info:
  title: PetStore Inc.
  description: Pets online.
  version: 0.0.0
  x-ms-code-generation-settings:
    useDateTimeOffset: true
    internalConstructors: true
x-ms-parameterized-host:
  hostTemplate: "{petBaseUrl}"
  parameters:
    - name: petBaseUrl
      required: true
      type: string
      in: path
      x-ms-skip-url-encoding: true
paths:
  "/Pets/{petId}/GetPet":
    post:
      operationId: Pet_GetPetById
      description: Gets pets by id.
      parameters:
        - name: petId
          in: path
          required: true
          type: string
          description: pet id
      responses:
        "200":
          description: ""
          schema:
            "$ref": "#/definitions/Pet"
definitions:
  Pet:
    properties:
      name:
        type: string
        readOnly: true
        description: Gets the Pet by id.