Skip to content

Cannot generate client for object #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sargun opened this issue Aug 7, 2020 · 1 comment
Closed

Cannot generate client for object #140

sargun opened this issue Aug 7, 2020 · 1 comment
Labels
🐞bug Something isn't working
Milestone

Comments

@sargun
Copy link

sargun commented Aug 7, 2020

Describe the bug
Endpoint is not generated

To Reproduce
Steps to reproduce the behavior:
Run pipx run openapi-python-client update --path ./specs/ally.yaml

Expected behavior
Endpoint is generated

OpenAPI Spec File

openapi: 3.0.0
info:
  title: Ally
  version: 1.0.0
servers:
  - url: 'https://api.tradeking.com/v1'
paths:
  /market/clock.json:
    get:
      operationId: clock
      description: This call will return the current state of the market, the time of the next state change (if the market is open), and the current server timestamp.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  response:
                    type: object
                    properties:
                      '@id':
                        type: string
                        format: uuid
                      status:
                        type: object
                        properties:
                          current:
                            type: string
                          next:
                            type: string

Desktop (please complete the following information):

  • OS: [e.g. macOS 10.15.1]
  • Python Version: [e.g. 3.7.8]
@sargun sargun added the 🐞bug Something isn't working label Aug 7, 2020
@dbanty dbanty added this to the 0.7.0 milestone Aug 18, 2020
@dbanty
Copy link
Collaborator

dbanty commented Sep 26, 2020

Closing in favor of #162 just to deduplicate.

@dbanty dbanty closed this as completed Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants